core/homeassistant/components/compensation/const.py

20 lines
410 B
Python

"""Compensation constants."""
DOMAIN = "compensation"
SENSOR = "compensation"
CONF_COMPENSATION = "compensation"
CONF_LOWER_LIMIT = "lower_limit"
CONF_UPPER_LIMIT = "upper_limit"
CONF_DATAPOINTS = "data_points"
CONF_DEGREE = "degree"
CONF_PRECISION = "precision"
CONF_POLYNOMIAL = "polynomial"
DATA_COMPENSATION = "compensation_data"
DEFAULT_DEGREE = 1
DEFAULT_NAME = "Compensation"
DEFAULT_PRECISION = 2