Home Assistant Unofficial Reference
2024.12.1
const.py
Go to the documentation of this file.
1
"""Constants for the Integration - Riemann sum integral integration."""
2
3
DOMAIN =
"integration"
4
5
CONF_ROUND_DIGITS =
"round"
6
CONF_SOURCE_SENSOR =
"source"
7
CONF_UNIT_OF_MEASUREMENT =
"unit"
8
CONF_UNIT_PREFIX =
"unit_prefix"
9
CONF_UNIT_TIME =
"unit_time"
10
CONF_MAX_SUB_INTERVAL =
"max_sub_interval"
11
12
METHOD_TRAPEZOIDAL =
"trapezoidal"
13
METHOD_LEFT =
"left"
14
METHOD_RIGHT =
"right"
15
INTEGRATION_METHODS = [METHOD_TRAPEZOIDAL, METHOD_LEFT, METHOD_RIGHT]
core
homeassistant
components
integration
const.py
Generated by
1.9.1