mirror of https://github.com/home-assistant/core
29 lines
599 B
Python
29 lines
599 B
Python
"""smarttub constants."""
|
|
|
|
DOMAIN = "smarttub"
|
|
|
|
EVENT_SMARTTUB = "smarttub"
|
|
|
|
SMARTTUB_CONTROLLER = "smarttub_controller"
|
|
|
|
SCAN_INTERVAL = 60
|
|
|
|
POLLING_TIMEOUT = 10
|
|
API_TIMEOUT = 5
|
|
|
|
DEFAULT_MIN_TEMP = 18.5
|
|
DEFAULT_MAX_TEMP = 40
|
|
|
|
# the device doesn't remember any state for the light, so we have to choose a
|
|
# mode (smarttub.SpaLight.LightMode) when turning it on. There is no white
|
|
# mode.
|
|
DEFAULT_LIGHT_EFFECT = "purple"
|
|
# default to 50% brightness
|
|
DEFAULT_LIGHT_BRIGHTNESS = 128
|
|
|
|
ATTR_ERRORS = "errors"
|
|
ATTR_LIGHTS = "lights"
|
|
ATTR_PUMPS = "pumps"
|
|
ATTR_REMINDERS = "reminders"
|
|
ATTR_STATUS = "status"
|