mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +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
@@ -13,6 +13,9 @@ from homeassistant.const import (
|
||||
from homeassistant.helpers import condition, config_validation as cv
|
||||
from homeassistant.helpers.config_validation import entity_domain
|
||||
|
||||
|
||||
# mypy: allow-untyped-defs, no-check-untyped-defs
|
||||
|
||||
EVENT_ENTER = "enter"
|
||||
EVENT_LEAVE = "leave"
|
||||
DEFAULT_EVENT = EVENT_ENTER
|
||||
|
||||
Reference in New Issue
Block a user