Type check various base components (#25878)
* Type check various component base classes, disabling bunch of checks for now * Type hint fixes * Help mypy out some * Add more type hints
This commit is contained in:
1 parent
cf90e49b50
commit
b738082dad
59 files changed
+233
-34
No files matched your search
@@ -12,6 +12,9 @@ from homeassistant.helpers.entity import Entity
|
||||
from homeassistant.helpers.entity_component import EntityComponent
|
||||
from homeassistant.helpers.state import HASS_DOMAIN
|
||||
|
||||
|
||||
# mypy: allow-untyped-defs, no-check-untyped-defs
|
||||
|
||||
DOMAIN = "scene"
|
||||
STATE = "scening"
|
||||
STATES = "states"
|
||||
|
||||
Reference in new issue
Block a user