mirror of
https://github.com/home-assistant/core.git
synced 2025-10-23 10:39:36 +00:00

* Add 'max_sub_interval' option to derivative sensor * add strings * little coverage * improve test accuracy * reimplement at dev head * string * handle unavailable * simplify * Add self to codeowner * fix on remove * Update homeassistant/components/derivative/sensor.py Co-authored-by: Erik Montnemery <erik@montnemery.com> * Fix parenthesis * sort strings --------- Co-authored-by: Erik Montnemery <erik@montnemery.com>
11 lines
257 B
Python
11 lines
257 B
Python
"""Constants for the Derivative integration."""
|
|
|
|
DOMAIN = "derivative"
|
|
|
|
CONF_ROUND_DIGITS = "round"
|
|
CONF_TIME_WINDOW = "time_window"
|
|
CONF_UNIT = "unit"
|
|
CONF_UNIT_PREFIX = "unit_prefix"
|
|
CONF_UNIT_TIME = "unit_time"
|
|
CONF_MAX_SUB_INTERVAL = "max_sub_interval"
|