core/homeassistant/components/smarttub/const.py

23 lines
479 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