15 lines
401 B
Python
15 lines
401 B
Python
"""Constants for the Integration - Riemann sum integral integration."""
|
|
|
|
DOMAIN = "integration"
|
|
|
|
CONF_ROUND_DIGITS = "round"
|
|
CONF_SOURCE_SENSOR = "source"
|
|
CONF_UNIT_OF_MEASUREMENT = "unit"
|
|
CONF_UNIT_PREFIX = "unit_prefix"
|
|
CONF_UNIT_TIME = "unit_time"
|
|
|
|
METHOD_TRAPEZOIDAL = "trapezoidal"
|
|
METHOD_LEFT = "left"
|
|
METHOD_RIGHT = "right"
|
|
INTEGRATION_METHODS = [METHOD_TRAPEZOIDAL, METHOD_LEFT, METHOD_RIGHT]
|