Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants for the A. O. Smith integration."""
2 
3 from datetime import timedelta
4 
5 DOMAIN = "aosmith"
6 
7 # Update interval to be used for normal background updates.
8 REGULAR_INTERVAL = timedelta(seconds=30)
9 
10 # Update interval to be used while a mode or setpoint change is in progress.
11 FAST_INTERVAL = timedelta(seconds=1)
12 
13 # Update interval to be used for energy usage data.
14 ENERGY_USAGE_INTERVAL = timedelta(minutes=10)