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

Classes

class  BaseRegistry
 
class  BaseRegistryItems
 

Functions

_StoreDataT _data_to_save (self)
 
None async_schedule_save (self)
 

Variables

 RegistryIndexType
 
int SAVE_DELAY = 10
 
int SAVE_DELAY_LONG = 180
 

Detailed Description

Provide a base implementation for registries.

Function Documentation

◆ _data_to_save()

_StoreDataT homeassistant.helpers.registry._data_to_save (   self)
private
Return data of registry to store in a file.

Definition at line 82 of file registry.py.

◆ async_schedule_save()

None homeassistant.helpers.registry.async_schedule_save (   self)
Class to implement a registry.
Schedule saving the registry.

Definition at line 73 of file registry.py.

Variable Documentation

◆ RegistryIndexType

homeassistant.helpers.registry.RegistryIndexType

Definition at line 18 of file registry.py.

◆ SAVE_DELAY

int homeassistant.helpers.registry.SAVE_DELAY = 10

Definition at line 15 of file registry.py.

◆ SAVE_DELAY_LONG

int homeassistant.helpers.registry.SAVE_DELAY_LONG = 180

Definition at line 16 of file registry.py.