Home Assistant Unofficial Reference 2024.12.1
homeassistant.helpers.label_registry Namespace Reference

Classes

class  _LabelStoreData
 
class  EventLabelRegistryUpdatedData
 
class  LabelEntry
 
class  LabelRegistry
 
class  LabelRegistryStore
 
class  LabelRegistryStoreData
 

Functions

LabelRegistry async_get (HomeAssistant hass)
 
None async_load (HomeAssistant hass)
 

Variables

 EventLabelRegistryUpdated
 
string STORAGE_KEY = "core.label_registry"
 
int STORAGE_VERSION_MAJOR = 1
 
int STORAGE_VERSION_MINOR = 2
 

Detailed Description

Provide a way to label and group anything.

Function Documentation

◆ async_get()

LabelRegistry homeassistant.helpers.label_registry.async_get ( HomeAssistant  hass)
Get label registry.

Definition at line 268 of file label_registry.py.

◆ async_load()

None homeassistant.helpers.label_registry.async_load ( HomeAssistant  hass)
Load label registry.

Definition at line 273 of file label_registry.py.

Variable Documentation

◆ EventLabelRegistryUpdated

homeassistant.helpers.label_registry.EventLabelRegistryUpdated

Definition at line 59 of file label_registry.py.

◆ STORAGE_KEY

string homeassistant.helpers.label_registry.STORAGE_KEY = "core.label_registry"

Definition at line 29 of file label_registry.py.

◆ STORAGE_VERSION_MAJOR

int homeassistant.helpers.label_registry.STORAGE_VERSION_MAJOR = 1

Definition at line 30 of file label_registry.py.

◆ STORAGE_VERSION_MINOR

int homeassistant.helpers.label_registry.STORAGE_VERSION_MINOR = 2

Definition at line 31 of file label_registry.py.