Compare commits

...

1 Commits

Author SHA1 Message Date
Erik
668262aa1a Improve comment for helpers.entity.entity_sources 2025-06-11 12:42:21 +02:00

View File

@@ -92,7 +92,11 @@ def async_setup(hass: HomeAssistant) -> None:
@bind_hass
@singleton.singleton(DATA_ENTITY_SOURCE)
def entity_sources(hass: HomeAssistant) -> dict[str, EntityInfo]:
"""Get the entity sources."""
"""Get the entity sources.
Items are added to this dict by Entity.async_internal_added_to_hass and
removed by Entity.async_internal_will_remove_from_hass.
"""
return {}