mirror of
https://github.com/home-assistant/core.git
synced 2025-05-19 13:29:17 +00:00

* Respect semaphore * Add retries when connection reset * Also catch OSError from aiohttp when authenticating
10 lines
279 B
Python
10 lines
279 B
Python
"""Constants for the Hue component."""
|
|
import logging
|
|
|
|
LOGGER = logging.getLogger(__package__)
|
|
DOMAIN = "hue"
|
|
|
|
# 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
|