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
@@ -10,6 +10,9 @@ from homeassistant.helpers.event import track_state_change
|
||||
from homeassistant.util.distance import convert
|
||||
from homeassistant.util.location import distance
|
||||
|
||||
|
||||
# mypy: allow-untyped-defs, no-check-untyped-defs
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
ATTR_DIR_OF_TRAVEL = "dir_of_travel"
|
||||
|
||||
Reference in new issue
Block a user