mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 11:47:06 +00:00
Improve comment for helpers.entity.entity_sources (#146529)
This commit is contained in:
parent
1d82d44794
commit
91c3b43d7f
@ -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 {}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user