Use PEP 526 type annotations, add some type hints (#26464)
* Add some more type hints to helpers.event * Change most type comments to variable types * Remove some superfluous type hints
This commit is contained in:
1 parent
5b3004c7b0
commit
33e1b44b3a
35 files changed
+152
-174
No files matched your search
@@ -147,7 +147,7 @@ def async_setup_scanner_platform(
|
||||
scanner.hass = hass
|
||||
|
||||
# Initial scan of each mac we also tell about host name for config
|
||||
seen = set() # type: Any
|
||||
seen: Any = set()
|
||||
|
||||
async def async_device_tracker_scan(now: dt_util.dt.datetime):
|
||||
"""Handle interval matches."""
|
||||
|
||||
Reference in new issue
Block a user