Home Assistant Unofficial Reference
2024.12.1
Namespaces
|
Functions
|
Variables
common.py File Reference
Go to the source code of this file.
Namespaces
homeassistant.components.logbook.queries.common
Functions
ColumnElement[bool]
homeassistant.components.logbook.queries.common._conditionally_continuous_domain_matcher
()
ColumnElement[bool]
homeassistant.components.logbook.queries.common._missing_state_matcher
()
ColumnElement[bool]
homeassistant.components.logbook.queries.common._not_continuous_entity_matcher
()
ColumnElement[bool]
homeassistant.components.logbook.queries.common._not_possible_continuous_domain_matcher
()
BooleanClauseList
homeassistant.components.logbook.queries.common._not_uom_attributes_matcher
()
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
()
Variables
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.Final
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":'
string
homeassistant.components.logbook.queries.common.UNIT_OF_MEASUREMENT_JSON_LIKE
= f"%{UNIT_OF_MEASUREMENT_JSON}%"
core
homeassistant
components
logbook
queries
common.py
Generated by
1.9.1