Add A. O. Smith integration (#104976)

This commit is contained in:
Brandon Rothweiler 2023-12-08 11:17:42 -05:00 committed by GitHub
parent fdeb9e36c3
commit 1c7bd3f729
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 1059 additions and 0 deletions

View file

@ -0,0 +1,16 @@
"""Constants for the A. O. Smith integration."""
from datetime import timedelta
DOMAIN = "aosmith"
AOSMITH_MODE_ELECTRIC = "ELECTRIC"
AOSMITH_MODE_HEAT_PUMP = "HEAT_PUMP"
AOSMITH_MODE_HYBRID = "HYBRID"
AOSMITH_MODE_VACATION = "VACATION"
# 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)