Add A. O. Smith integration (#104976)
This commit is contained in:
parent
fdeb9e36c3
commit
1c7bd3f729
25 changed files with 1059 additions and 0 deletions
16
homeassistant/components/aosmith/const.py
Normal file
16
homeassistant/components/aosmith/const.py
Normal 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)
|
Loading…
Add table
Add a link
Reference in a new issue