Files
core/homeassistant/components/twinkly/const.py
T

24 lines
576 B
Python

"""Const for Twinkly."""
DOMAIN = "twinkly"
# Strongly named HA attributes keys
ATTR_HOST = "host"
ATTR_VERSION = "version"
# Keys of attributes read from the get_device_info
DEV_ID = "uuid"
DEV_NAME = "device_name"
DEV_MODEL = "product_code"
DEV_LED_PROFILE = "led_profile"
DEV_PROFILE_RGB = "RGB"
DEV_PROFILE_RGBW = "RGBW"
# Minimum version required to support effects
MIN_EFFECT_VERSION = "2.7.1"
# Matches the library default, set explicitly so the integration does not
# inherit it. A device waking its radio can take several seconds to answer.
DEVICE_TIMEOUT = 10