Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants for the SRP Energy integration."""
2 
3 from datetime import timedelta
4 import logging
5 
6 LOGGER = logging.getLogger(__package__)
7 
8 DOMAIN = "srp_energy"
9 DEFAULT_NAME = "Home"
10 
11 CONF_IS_TOU = "is_tou"
12 
13 PHOENIX_TIME_ZONE = "America/Phoenix"
14 MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=1440)
15 
16 DEVICE_CONFIG_URL = "https://www.srpnet.com/"
17 DEVICE_MANUFACTURER = "srpnet.com"
18 DEVICE_MODEL = "Service Api"