Home Assistant Unofficial Reference 2024.12.1
filters.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.recorder.filters.Filters
 

Namespaces

 homeassistant.components.recorder.filters
 

Functions

ColumnElement homeassistant.components.recorder.filters._domain_matcher (Iterable[str] domains, Iterable[Column] columns, Callable[[Any], Any] encoder)
 
ColumnElement homeassistant.components.recorder.filters._entity_matcher (Iterable[str] entity_ids, Iterable[Column] columns, Callable[[Any], Any] encoder)
 
ColumnElement homeassistant.components.recorder.filters._globs_to_like (Iterable[str] glob_strs, Iterable[Column] columns, Callable[[Any], Any] encoder)
 
dict[str, Any] homeassistant.components.recorder.filters.extract_include_exclude_filter_conf (ConfigType conf)
 
list[str] homeassistant.components.recorder.filters.like_domain_matchers (Iterable[str] domains)
 
dict[str, Any] homeassistant.components.recorder.filters.merge_include_exclude_filters (dict[str, Any] base_filter, dict[str, Any] add_filter)
 
Filters|None homeassistant.components.recorder.filters.sqlalchemy_filter_from_include_exclude_conf (ConfigType conf)
 

Variables

string homeassistant.components.recorder.filters.DOMAIN = "history"
 
tuple homeassistant.components.recorder.filters.FILTER_TYPES = (CONF_EXCLUDE, CONF_INCLUDE)
 
tuple homeassistant.components.recorder.filters.FITLER_MATCHERS = (CONF_ENTITIES, CONF_DOMAINS, CONF_ENTITY_GLOBS)
 
dictionary homeassistant.components.recorder.filters.GLOB_TO_SQL_CHARS
 
string homeassistant.components.recorder.filters.HISTORY_FILTERS = "history_filters"
 
 homeassistant.components.recorder.filters.JSON_NULL = json_dumps(None)