Improve comment for helpers.entity.entity_sources (#146529)

This commit is contained in:
Erik Montnemery 2025-06-27 20:54:19 +02:00 committed by GitHub
parent 1d82d44794
commit 91c3b43d7f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 {}