1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-26 22:18:40 +00:00

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:
Ville Skyttä
2019-08-12 06:38:18 +03:00
committed by Paulus Schoutsen
parent cf90e49b50
commit b738082dad
59 changed files with 233 additions and 34 deletions

View File

@@ -21,6 +21,9 @@ from homeassistant.helpers.config_validation import ( # noqa
)
from homeassistant.helpers.entity_component import EntityComponent
# mypy: allow-untyped-defs, no-check-untyped-defs
_LOGGER = logging.getLogger(__name__)
DOMAIN = "sensor"