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

Classes

class  _CategoryStoreData
 
class  CategoryEntry
 
class  CategoryRegistry
 
class  CategoryRegistryStore
 
class  CategoryRegistryStoreData
 
class  EventCategoryRegistryUpdatedData
 

Functions

CategoryRegistry async_get (HomeAssistant hass)
 
None async_load (HomeAssistant hass)
 

Variables

 EventCategoryRegistryUpdated
 
string STORAGE_KEY = "core.category_registry"
 
int STORAGE_VERSION_MAJOR = 1
 
int STORAGE_VERSION_MINOR = 2
 

Detailed Description

Provide a way to categorize things within a defined scope.

Function Documentation

◆ async_get()

CategoryRegistry homeassistant.helpers.category_registry.async_get ( HomeAssistant  hass)
Get category registry.

Definition at line 263 of file category_registry.py.

◆ async_load()

None homeassistant.helpers.category_registry.async_load ( HomeAssistant  hass)
Load category registry.

Definition at line 268 of file category_registry.py.

Variable Documentation

◆ EventCategoryRegistryUpdated

homeassistant.helpers.category_registry.EventCategoryRegistryUpdated

Definition at line 55 of file category_registry.py.

◆ STORAGE_KEY

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

Definition at line 26 of file category_registry.py.

◆ STORAGE_VERSION_MAJOR

int homeassistant.helpers.category_registry.STORAGE_VERSION_MAJOR = 1

Definition at line 27 of file category_registry.py.

◆ STORAGE_VERSION_MINOR

int homeassistant.helpers.category_registry.STORAGE_VERSION_MINOR = 2

Definition at line 28 of file category_registry.py.