Home Assistant Unofficial Reference 2024.12.1
state.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.recorder.models.state.LazyState
 

Namespaces

 homeassistant.components.recorder.models.state
 

Functions

list[int] homeassistant.components.recorder.models.state.extract_metadata_ids (dict[str, int|None] entity_id_to_metadata_id)
 
dict[str, Any] homeassistant.components.recorder.models.state.row_to_compressed_state (Row row, dict[str, dict[str, Any]] attr_cache, float|None start_time_ts, str entity_id, str state, float|None last_updated_ts, bool no_attributes)
 

Variables

 homeassistant.components.recorder.models.state._LOGGER = logging.getLogger(__name__)
 
 homeassistant.components.recorder.models.state.EMPTY_CONTEXT = Context(id=None)