Classes | |
| class | LazyState |
Functions | |
| list[int] | extract_metadata_ids (dict[str, int|None] entity_id_to_metadata_id) |
| dict[str, Any] | 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 | |
| _LOGGER = logging.getLogger(__name__) | |
| EMPTY_CONTEXT = Context(id=None) | |
Models states in for Recorder.
| 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 | ||
| ) |
|
private |