Home Assistant Unofficial Reference
2024.12.1
const.py
Go to the documentation of this file.
1
"""Constants for the WiZ Platform integration."""
2
3
from
datetime
import
timedelta
4
5
from
pywizlight.exceptions
import
(
6
WizLightConnectionError,
7
WizLightNotKnownBulb,
8
WizLightTimeOutError,
9
)
10
11
DOMAIN =
"wiz"
12
DEFAULT_NAME =
"WiZ"
13
14
DISCOVER_SCAN_TIMEOUT = 10
15
DISCOVERY_INTERVAL =
timedelta
(minutes=15)
16
17
WIZ_EXCEPTIONS = (
18
OSError,
19
WizLightTimeOutError,
20
TimeoutError,
21
WizLightConnectionError,
22
ConnectionRefusedError,
23
)
24
WIZ_CONNECT_EXCEPTIONS = (WizLightNotKnownBulb, *WIZ_EXCEPTIONS)
25
26
SIGNAL_WIZ_PIR =
"wiz_pir_{}"
homeassistant.components.uptimerobot.const.timedelta
timedelta
Definition:
const.py:14
core
homeassistant
components
wiz
const.py
Generated by
1.9.1