2018-03-30 03:15:40 +00:00
|
|
|
"""Constants for the Hue component."""
|
|
|
|
import logging
|
|
|
|
|
2019-05-07 22:52:49 +00:00
|
|
|
LOGGER = logging.getLogger(__package__)
|
2018-03-30 03:15:40 +00:00
|
|
|
DOMAIN = "hue"
|
2020-01-31 22:47:40 +00:00
|
|
|
|
|
|
|
# How long to wait to actually do the refresh after requesting it.
|
|
|
|
# We wait some time so if we control multiple lights, we batch requests.
|
|
|
|
REQUEST_REFRESH_DELAY = 0.3
|
2020-02-11 16:50:07 +00:00
|
|
|
|
|
|
|
CONF_ALLOW_UNREACHABLE = "allow_unreachable"
|
|
|
|
DEFAULT_ALLOW_UNREACHABLE = False
|
|
|
|
|
|
|
|
CONF_ALLOW_HUE_GROUPS = "allow_hue_groups"
|
|
|
|
DEFAULT_ALLOW_HUE_GROUPS = True
|