mirror of
https://github.com/elisspace/core.git
synced 2026-09-19 01:01:37 +00:00
19 lines
406 B
Python
19 lines
406 B
Python
"""Constants for the WiZ Platform integration."""
|
|
from datetime import timedelta
|
|
|
|
from pywizlight.exceptions import WizLightConnectionError, WizLightTimeOutError
|
|
|
|
DOMAIN = "wiz"
|
|
DEFAULT_NAME = "WiZ"
|
|
|
|
DISCOVER_SCAN_TIMEOUT = 10
|
|
DISCOVERY_INTERVAL = timedelta(minutes=15)
|
|
|
|
WIZ_EXCEPTIONS = (
|
|
OSError,
|
|
WizLightTimeOutError,
|
|
TimeoutError,
|
|
WizLightConnectionError,
|
|
ConnectionRefusedError,
|
|
)
|