Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.history_stats.const Namespace Reference

Variables

string CONF_DURATION = "duration"
 
string CONF_END = "end"
 
list CONF_PERIOD_KEYS = [CONF_START, CONF_END, CONF_DURATION]
 
string CONF_START = "start"
 
string CONF_TYPE_COUNT = "count"
 
list CONF_TYPE_KEYS = [CONF_TYPE_TIME, CONF_TYPE_RATIO, CONF_TYPE_COUNT]
 
string CONF_TYPE_RATIO = "ratio"
 
string CONF_TYPE_TIME = "time"
 
string DEFAULT_NAME = "unnamed statistics"
 
string DOMAIN = "history_stats"
 
list PLATFORMS = [Platform.SENSOR]
 

Detailed Description

The history_stats component constants.

Variable Documentation

◆ CONF_DURATION

string homeassistant.components.history_stats.const.CONF_DURATION = "duration"

Definition at line 10 of file const.py.

◆ CONF_END

string homeassistant.components.history_stats.const.CONF_END = "end"

Definition at line 9 of file const.py.

◆ CONF_PERIOD_KEYS

list homeassistant.components.history_stats.const.CONF_PERIOD_KEYS = [CONF_START, CONF_END, CONF_DURATION]

Definition at line 11 of file const.py.

◆ CONF_START

string homeassistant.components.history_stats.const.CONF_START = "start"

Definition at line 8 of file const.py.

◆ CONF_TYPE_COUNT

string homeassistant.components.history_stats.const.CONF_TYPE_COUNT = "count"

Definition at line 15 of file const.py.

◆ CONF_TYPE_KEYS

list homeassistant.components.history_stats.const.CONF_TYPE_KEYS = [CONF_TYPE_TIME, CONF_TYPE_RATIO, CONF_TYPE_COUNT]

Definition at line 16 of file const.py.

◆ CONF_TYPE_RATIO

string homeassistant.components.history_stats.const.CONF_TYPE_RATIO = "ratio"

Definition at line 14 of file const.py.

◆ CONF_TYPE_TIME

string homeassistant.components.history_stats.const.CONF_TYPE_TIME = "time"

Definition at line 13 of file const.py.

◆ DEFAULT_NAME

string homeassistant.components.history_stats.const.DEFAULT_NAME = "unnamed statistics"

Definition at line 18 of file const.py.

◆ DOMAIN

string homeassistant.components.history_stats.const.DOMAIN = "history_stats"

Definition at line 5 of file const.py.

◆ PLATFORMS

list homeassistant.components.history_stats.const.PLATFORMS = [Platform.SENSOR]

Definition at line 6 of file const.py.