Functions | |
| ColumnElement[bool] | _conditionally_continuous_domain_matcher () |
| ColumnElement[bool] | _missing_state_matcher () |
| ColumnElement[bool] | _not_continuous_entity_matcher () |
| ColumnElement[bool] | _not_possible_continuous_domain_matcher () |
| BooleanClauseList | _not_uom_attributes_matcher () |
| Select | apply_events_context_hints (Select sel) |
| Select | apply_states_context_hints (Select sel) |
| Select | apply_states_filters (Select sel, float start_day, float end_day) |
| Select | select_events_context_id_subquery (float start_day, float end_day, tuple[int,...] event_type_ids) |
| Select | select_events_context_only () |
| Select | select_events_without_states (float start_day, float end_day, tuple[int,...] event_type_ids) |
| Select | select_states () |
| Select | select_states_context_only () |
Variables | |
| ALWAYS_CONTINUOUS_ENTITY_ID_LIKE = like_domain_matchers(ALWAYS_CONTINUOUS_DOMAINS) | |
| CONDITIONALLY_CONTINUOUS_ENTITY_ID_LIKE | |
| CONTEXT_ONLY = literal(value="1", type_=sqlalchemy.String).label("context_only") | |
| tuple | EMPTY_STATE_COLUMNS |
| tuple | EVENT_COLUMNS |
| tuple | EVENT_COLUMNS_FOR_STATE_SELECT |
| tuple | EVENT_ROWS_NO_STATES |
| Final | |
| ICON_OR_OLD_FORMAT_ICON_JSON | |
| NOT_CONTEXT_ONLY = literal(value=None, type_=sqlalchemy.String).label("context_only") | |
| tuple | STATE_COLUMNS |
| tuple | STATE_CONTEXT_ONLY_COLUMNS |
| string | UNIT_OF_MEASUREMENT_JSON = '"unit_of_measurement":' |
| string | UNIT_OF_MEASUREMENT_JSON_LIKE = f"%{UNIT_OF_MEASUREMENT_JSON}%" |
Queries for logbook.
|
private |
|
private |
|
private |
|
private |
|
private |
| Select homeassistant.components.logbook.queries.common.apply_events_context_hints | ( | Select | sel | ) |
| Select homeassistant.components.logbook.queries.common.apply_states_context_hints | ( | Select | sel | ) |
| Select homeassistant.components.logbook.queries.common.apply_states_filters | ( | Select | sel, |
| float | start_day, | ||
| float | end_day | ||
| ) |
| Select homeassistant.components.logbook.queries.common.select_events_context_id_subquery | ( | float | start_day, |
| float | end_day, | ||
| tuple[int, ...] | event_type_ids | ||
| ) |
| Select homeassistant.components.logbook.queries.common.select_events_context_only | ( | ) |
| Select homeassistant.components.logbook.queries.common.select_events_without_states | ( | float | start_day, |
| float | end_day, | ||
| tuple[int, ...] | event_type_ids | ||
| ) |
| Select homeassistant.components.logbook.queries.common.select_states | ( | ) |
| Select homeassistant.components.logbook.queries.common.select_states_context_only | ( | ) |
| homeassistant.components.logbook.queries.common.ALWAYS_CONTINUOUS_ENTITY_ID_LIKE = like_domain_matchers(ALWAYS_CONTINUOUS_DOMAINS) |
| homeassistant.components.logbook.queries.common.CONDITIONALLY_CONTINUOUS_ENTITY_ID_LIKE |
| homeassistant.components.logbook.queries.common.CONTEXT_ONLY = literal(value="1", type_=sqlalchemy.String).label("context_only") |
| tuple homeassistant.components.logbook.queries.common.EMPTY_STATE_COLUMNS |
| tuple homeassistant.components.logbook.queries.common.EVENT_COLUMNS |
| tuple homeassistant.components.logbook.queries.common.EVENT_COLUMNS_FOR_STATE_SELECT |
| tuple homeassistant.components.logbook.queries.common.EVENT_ROWS_NO_STATES |
| homeassistant.components.logbook.queries.common.ICON_OR_OLD_FORMAT_ICON_JSON |
| homeassistant.components.logbook.queries.common.NOT_CONTEXT_ONLY = literal(value=None, type_=sqlalchemy.String).label("context_only") |
| tuple homeassistant.components.logbook.queries.common.STATE_COLUMNS |
| tuple homeassistant.components.logbook.queries.common.STATE_CONTEXT_ONLY_COLUMNS |
| string homeassistant.components.logbook.queries.common.UNIT_OF_MEASUREMENT_JSON = '"unit_of_measurement":' |