hass-core/homeassistant/components/srp_energy/const.py
epenet d0c38c1e12
Move icon constants to entity attributes (#90518)
* Move icon constants to attribute

* Adjust test
2023-03-31 09:34:17 +02:00

13 lines
263 B
Python

"""Constants for the SRP Energy integration."""
from datetime import timedelta
SRP_ENERGY_DOMAIN = "srp_energy"
DEFAULT_NAME = "SRP Energy"
CONF_IS_TOU = "is_tou"
MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=1440)
SENSOR_NAME = "Usage"
SENSOR_TYPE = "usage"