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

Variables

string ATTR_ATTRIBUTE = "attribute"
 
string ATTR_GRADIENT = "gradient"
 
string ATTR_INVERT = "invert"
 
string ATTR_MIN_GRADIENT = "min_gradient"
 
string ATTR_SAMPLE_COUNT = "sample_count"
 
string ATTR_SAMPLE_DURATION = "sample_duration"
 
string CONF_INVERT = "invert"
 
string CONF_MAX_SAMPLES = "max_samples"
 
string CONF_MIN_GRADIENT = "min_gradient"
 
string CONF_MIN_SAMPLES = "min_samples"
 
string CONF_SAMPLE_DURATION = "sample_duration"
 
int DEFAULT_MAX_SAMPLES = 2
 
float DEFAULT_MIN_GRADIENT = 0.0
 
int DEFAULT_MIN_SAMPLES = 2
 
int DEFAULT_SAMPLE_DURATION = 0
 
string DOMAIN = "trend"
 

Detailed Description

Constant values for Trend integration.

Variable Documentation

◆ ATTR_ATTRIBUTE

string homeassistant.components.trend.const.ATTR_ATTRIBUTE = "attribute"

Definition at line 5 of file const.py.

◆ ATTR_GRADIENT

string homeassistant.components.trend.const.ATTR_GRADIENT = "gradient"

Definition at line 6 of file const.py.

◆ ATTR_INVERT

string homeassistant.components.trend.const.ATTR_INVERT = "invert"

Definition at line 7 of file const.py.

◆ ATTR_MIN_GRADIENT

string homeassistant.components.trend.const.ATTR_MIN_GRADIENT = "min_gradient"

Definition at line 8 of file const.py.

◆ ATTR_SAMPLE_COUNT

string homeassistant.components.trend.const.ATTR_SAMPLE_COUNT = "sample_count"

Definition at line 10 of file const.py.

◆ ATTR_SAMPLE_DURATION

string homeassistant.components.trend.const.ATTR_SAMPLE_DURATION = "sample_duration"

Definition at line 9 of file const.py.

◆ CONF_INVERT

string homeassistant.components.trend.const.CONF_INVERT = "invert"

Definition at line 12 of file const.py.

◆ CONF_MAX_SAMPLES

string homeassistant.components.trend.const.CONF_MAX_SAMPLES = "max_samples"

Definition at line 13 of file const.py.

◆ CONF_MIN_GRADIENT

string homeassistant.components.trend.const.CONF_MIN_GRADIENT = "min_gradient"

Definition at line 14 of file const.py.

◆ CONF_MIN_SAMPLES

string homeassistant.components.trend.const.CONF_MIN_SAMPLES = "min_samples"

Definition at line 16 of file const.py.

◆ CONF_SAMPLE_DURATION

string homeassistant.components.trend.const.CONF_SAMPLE_DURATION = "sample_duration"

Definition at line 15 of file const.py.

◆ DEFAULT_MAX_SAMPLES

int homeassistant.components.trend.const.DEFAULT_MAX_SAMPLES = 2

Definition at line 18 of file const.py.

◆ DEFAULT_MIN_GRADIENT

float homeassistant.components.trend.const.DEFAULT_MIN_GRADIENT = 0.0

Definition at line 20 of file const.py.

◆ DEFAULT_MIN_SAMPLES

int homeassistant.components.trend.const.DEFAULT_MIN_SAMPLES = 2

Definition at line 19 of file const.py.

◆ DEFAULT_SAMPLE_DURATION

int homeassistant.components.trend.const.DEFAULT_SAMPLE_DURATION = 0

Definition at line 21 of file const.py.

◆ DOMAIN

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

Definition at line 3 of file const.py.