mirror of
https://github.com/home-assistant/core.git
synced 2025-06-07 06:37:07 +00:00

* Refactor Hue Lights to use DataCoordinator * Redo how Hue updates data * Address comments * Inherit from Entity and remove pylint disable * Add tests for debounce
11 lines
327 B
Python
11 lines
327 B
Python
"""Constants for the Hue component."""
|
|
import logging
|
|
|
|
LOGGER = logging.getLogger(__package__)
|
|
DOMAIN = "hue"
|
|
API_NUPNP = "https://www.meethue.com/api/nupnp"
|
|
|
|
# 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
|