mirror of
https://github.com/home-assistant/core.git
synced 2025-11-14 21:40:16 +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:
committed by
Paulus Schoutsen
parent
cf90e49b50
commit
b738082dad
@@ -16,6 +16,9 @@ from homeassistant.core import callback
|
||||
from homeassistant.helpers.event import async_track_state_change
|
||||
from homeassistant.helpers.restore_state import RestoreEntity
|
||||
|
||||
|
||||
# mypy: allow-untyped-defs, no-check-untyped-defs
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
ATTR_SOURCE_ID = "source"
|
||||
|
||||
Reference in New Issue
Block a user