mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Improve registry store data typing (#115066)
This commit is contained in:
@@ -551,7 +551,7 @@ class ActiveDeviceRegistryItems(DeviceRegistryItems[DeviceEntry]):
|
||||
]
|
||||
|
||||
|
||||
class DeviceRegistry(BaseRegistry):
|
||||
class DeviceRegistry(BaseRegistry[dict[str, list[dict[str, Any]]]]):
|
||||
"""Class to hold a registry of devices."""
|
||||
|
||||
devices: ActiveDeviceRegistryItems
|
||||
|
||||
Reference in New Issue
Block a user