mirror of
https://github.com/home-assistant/core.git
synced 2025-11-13 04:50:17 +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
@@ -6,6 +6,9 @@ import voluptuous as vol
|
||||
from homeassistant.core import callback, CoreState
|
||||
from homeassistant.const import CONF_PLATFORM, CONF_EVENT, EVENT_HOMEASSISTANT_STOP
|
||||
|
||||
|
||||
# mypy: allow-untyped-defs
|
||||
|
||||
EVENT_START = "start"
|
||||
EVENT_SHUTDOWN = "shutdown"
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
Reference in New Issue
Block a user