hass-core/homeassistant/components/srp_energy/const.py
Brig Lamoreaux ff1fd86b91
Clean up srp_energy (#86822)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-04-12 23:47:37 +02:00

16 lines
346 B
Python

"""Constants for the SRP Energy integration."""
from datetime import timedelta
import logging
LOGGER = logging.getLogger(__package__)
DOMAIN = "srp_energy"
DEFAULT_NAME = "Home"
CONF_IS_TOU = "is_tou"
PHOENIX_TIME_ZONE = "America/Phoenix"
MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=1440)
SENSOR_NAME = "Energy Usage"
SENSOR_TYPE = "usage"