mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 04:50:05 +00:00
Migrate legacy typehints in core to PEP-526 (#26403)
* Migrate legacy typehints in core to PEP-526 * Fix one type
This commit is contained in:
committed by
Paulus Schoutsen
parent
2dc90be94f
commit
2f0eb07624
@@ -532,7 +532,7 @@ class Device(RestoreEntity):
|
||||
class DeviceScanner:
|
||||
"""Device scanner object."""
|
||||
|
||||
hass = None # type: HomeAssistantType
|
||||
hass: HomeAssistantType = None
|
||||
|
||||
def scan_devices(self) -> List[str]:
|
||||
"""Scan for devices."""
|
||||
|
||||
Reference in New Issue
Block a user