1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-01 10:52:19 +01:00

[mipi] Add type to models for better type hinting downstream (#10475)

This commit is contained in:
Jesse Hills
2025-08-30 18:43:26 +12:00
committed by GitHub
parent fd568d9af3
commit 983b3cb879

View File

@@ -2,7 +2,7 @@
# Various configuration constants for MIPI displays
# Various utility functions for MIPI DBI configuration
from typing import Any
from typing import Any, Self
from esphome.components.const import CONF_COLOR_DEPTH
from esphome.components.display import CONF_SHOW_TEST_CARD, display_ns
@@ -222,7 +222,7 @@ def delay(ms):
class DriverChip:
models = {}
models: dict[str, Self] = {}
def __init__(
self,