mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +00:00
Improve type hint in entity_registry (#100278)
This commit is contained in:
parent
4f8e28a781
commit
684b2d4537
@ -430,7 +430,7 @@ class EntityRegistryStore(storage.Store[dict[str, list[dict[str, Any]]]]):
|
|||||||
return data
|
return data
|
||||||
|
|
||||||
|
|
||||||
class EntityRegistryItems(UserDict[str, "RegistryEntry"]):
|
class EntityRegistryItems(UserDict[str, RegistryEntry]):
|
||||||
"""Container for entity registry items, maps entity_id -> entry.
|
"""Container for entity registry items, maps entity_id -> entry.
|
||||||
|
|
||||||
Maintains two additional indexes:
|
Maintains two additional indexes:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user