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

Variables

string CONF_MAX_SUB_INTERVAL = "max_sub_interval"
 
string CONF_ROUND_DIGITS = "round"
 
string CONF_SOURCE_SENSOR = "source"
 
string CONF_UNIT_OF_MEASUREMENT = "unit"
 
string CONF_UNIT_PREFIX = "unit_prefix"
 
string CONF_UNIT_TIME = "unit_time"
 
string DOMAIN = "integration"
 
list INTEGRATION_METHODS = [METHOD_TRAPEZOIDAL, METHOD_LEFT, METHOD_RIGHT]
 
string METHOD_LEFT = "left"
 
string METHOD_RIGHT = "right"
 
string METHOD_TRAPEZOIDAL = "trapezoidal"
 

Detailed Description

Constants for the Integration - Riemann sum integral integration.

Variable Documentation

◆ CONF_MAX_SUB_INTERVAL

string homeassistant.components.integration.const.CONF_MAX_SUB_INTERVAL = "max_sub_interval"

Definition at line 10 of file const.py.

◆ CONF_ROUND_DIGITS

string homeassistant.components.integration.const.CONF_ROUND_DIGITS = "round"

Definition at line 5 of file const.py.

◆ CONF_SOURCE_SENSOR

string homeassistant.components.integration.const.CONF_SOURCE_SENSOR = "source"

Definition at line 6 of file const.py.

◆ CONF_UNIT_OF_MEASUREMENT

string homeassistant.components.integration.const.CONF_UNIT_OF_MEASUREMENT = "unit"

Definition at line 7 of file const.py.

◆ CONF_UNIT_PREFIX

string homeassistant.components.integration.const.CONF_UNIT_PREFIX = "unit_prefix"

Definition at line 8 of file const.py.

◆ CONF_UNIT_TIME

string homeassistant.components.integration.const.CONF_UNIT_TIME = "unit_time"

Definition at line 9 of file const.py.

◆ DOMAIN

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

Definition at line 3 of file const.py.

◆ INTEGRATION_METHODS

list homeassistant.components.integration.const.INTEGRATION_METHODS = [METHOD_TRAPEZOIDAL, METHOD_LEFT, METHOD_RIGHT]

Definition at line 15 of file const.py.

◆ METHOD_LEFT

string homeassistant.components.integration.const.METHOD_LEFT = "left"

Definition at line 13 of file const.py.

◆ METHOD_RIGHT

string homeassistant.components.integration.const.METHOD_RIGHT = "right"

Definition at line 14 of file const.py.

◆ METHOD_TRAPEZOIDAL

string homeassistant.components.integration.const.METHOD_TRAPEZOIDAL = "trapezoidal"

Definition at line 12 of file const.py.