Home Assistant Unofficial Reference 2024.12.1
entity_registry.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.helpers.entity_registry._EventEntityRegistryUpdatedData_CreateRemove
 
class  homeassistant.helpers.entity_registry._EventEntityRegistryUpdatedData_Update
 
class  homeassistant.helpers.entity_registry.DeletedRegistryEntry
 
class  homeassistant.helpers.entity_registry.EntityRegistry
 
class  homeassistant.helpers.entity_registry.EntityRegistryItems
 
class  homeassistant.helpers.entity_registry.EntityRegistryStore
 
class  homeassistant.helpers.entity_registry.RegistryEntry
 
class  homeassistant.helpers.entity_registry.RegistryEntryDisabler
 
class  homeassistant.helpers.entity_registry.RegistryEntryHider
 

Namespaces

 homeassistant.helpers.entity_registry
 

Functions

None homeassistant.helpers.entity_registry._async_setup_cleanup (HomeAssistant hass, EntityRegistry registry)
 
None homeassistant.helpers.entity_registry._async_setup_entity_restore (HomeAssistant hass, EntityRegistry registry)
 
ReadOnlyEntityOptionsType homeassistant.helpers.entity_registry._protect_entity_options (EntityOptionsType|None data)
 
None homeassistant.helpers.entity_registry._validate_item (HomeAssistant hass, str domain, str platform, *RegistryEntryDisabler|None|UndefinedType disabled_by=None, EntityCategory|None|UndefinedType entity_category=None, RegistryEntryHider|None|UndefinedType hidden_by=None, bool report_non_string_unique_id=True, str|Hashable|UndefinedType|Any unique_id)
 
None homeassistant.helpers.entity_registry.async_config_entry_disabled_by_changed (EntityRegistry registry, ConfigEntry config_entry)
 
list[RegistryEntry] homeassistant.helpers.entity_registry.async_entries_for_area (EntityRegistry registry, str area_id)
 
list[RegistryEntry] homeassistant.helpers.entity_registry.async_entries_for_category (EntityRegistry registry, str scope, str category_id)
 
list[RegistryEntry] homeassistant.helpers.entity_registry.async_entries_for_config_entry (EntityRegistry registry, str config_entry_id)
 
list[RegistryEntry] homeassistant.helpers.entity_registry.async_entries_for_device (EntityRegistry registry, str device_id, bool include_disabled_entities=False)
 
list[RegistryEntry] homeassistant.helpers.entity_registry.async_entries_for_label (EntityRegistry registry, str label_id)
 
EntityRegistry homeassistant.helpers.entity_registry.async_get (HomeAssistant hass)
 
None homeassistant.helpers.entity_registry.async_load (HomeAssistant hass)
 
None homeassistant.helpers.entity_registry.async_migrate_entries (HomeAssistant hass, str config_entry_id, Callable[[RegistryEntry], dict[str, Any]|None] entry_callback)
 
str|None homeassistant.helpers.entity_registry.async_resolve_entity_id (EntityRegistry registry, str entity_id_or_uuid)
 
str homeassistant.helpers.entity_registry.async_validate_entity_id (EntityRegistry registry, str entity_id_or_uuid)
 
list[str] homeassistant.helpers.entity_registry.async_validate_entity_ids (EntityRegistry registry, list[str] entity_ids_or_uuids)
 

Variables

 homeassistant.helpers.entity_registry._LOGGER = logging.getLogger(__name__)
 
int homeassistant.helpers.entity_registry.CLEANUP_INTERVAL = 3600 * 24
 
tuple homeassistant.helpers.entity_registry.DISPLAY_DICT_OPTIONAL
 
 homeassistant.helpers.entity_registry.ENTITY_CATEGORY_INDEX_TO_VALUE = dict(enumerate(EntityCategory))
 
dictionary homeassistant.helpers.entity_registry.ENTITY_DESCRIBING_ATTRIBUTES
 
 homeassistant.helpers.entity_registry.EntityOptionsType
 
 homeassistant.helpers.entity_registry.EventEntityRegistryUpdatedData
 
int homeassistant.helpers.entity_registry.ORPHANED_ENTITY_KEEP_SECONDS = 3600 * 24 * 30
 
 homeassistant.helpers.entity_registry.ReadOnlyEntityOptionsType
 
string homeassistant.helpers.entity_registry.STORAGE_KEY = "core.entity_registry"
 
int homeassistant.helpers.entity_registry.STORAGE_VERSION_MAJOR = 1
 
int homeassistant.helpers.entity_registry.STORAGE_VERSION_MINOR = 15