Improve comment for helpers.entity.entity_sources

This commit is contained in:
Erik
2025-06-11 12:42:21 +02:00
parent c4c8f88765
commit 668262aa1a

View File

@ -92,7 +92,11 @@ def async_setup(hass: HomeAssistant) -> None:
@bind_hass @bind_hass
@singleton.singleton(DATA_ENTITY_SOURCE) @singleton.singleton(DATA_ENTITY_SOURCE)
def entity_sources(hass: HomeAssistant) -> dict[str, EntityInfo]: 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 {} return {}