Home Assistant Unofficial Reference
2024.12.1
const.py
Go to the documentation of this file.
1
"""Constants for history."""
2
3
STATE_KEY =
"state"
4
LAST_CHANGED_KEY =
"last_changed"
5
6
SIGNIFICANT_DOMAINS = {
7
"climate"
,
8
"device_tracker"
,
9
"humidifier"
,
10
"thermostat"
,
11
"water_heater"
,
12
}
13
SIGNIFICANT_DOMAINS_ENTITY_ID_LIKE = [f
"{domain}.%"
for
domain
in
SIGNIFICANT_DOMAINS]
14
IGNORE_DOMAINS = {
"zone"
,
"scene"
}
15
NEED_ATTRIBUTE_DOMAINS = {
16
"climate"
,
17
"humidifier"
,
18
"input_datetime"
,
19
"thermostat"
,
20
"water_heater"
,
21
}
core
homeassistant
components
recorder
history
const.py
Generated by
1.9.1