core/homeassistant/components/aosmith/const.py

15 lines
417 B
Python
Raw Normal View History

2023-12-08 16:17:42 +00:00
"""Constants for the A. O. Smith integration."""
from datetime import timedelta
DOMAIN = "aosmith"
# Update interval to be used for normal background updates.
REGULAR_INTERVAL = timedelta(seconds=30)
# Update interval to be used while a mode or setpoint change is in progress.
FAST_INTERVAL = timedelta(seconds=1)
# Update interval to be used for energy usage data.
ENERGY_USAGE_INTERVAL = timedelta(minutes=10)