1 """Constants for the Verisure integration."""
3 from datetime
import timedelta
10 LOGGER = logging.getLogger(__package__)
13 CONF_LOCK_CODE_DIGITS =
"lock_code_digits"
14 CONF_LOCK_DEFAULT_CODE =
"lock_default_code"
17 DEFAULT_LOCK_CODE_DIGITS = 4
19 SERVICE_CAPTURE_SMARTCAM =
"capture_smartcam"
20 SERVICE_DISABLE_AUTOLOCK =
"disable_autolock"
21 SERVICE_ENABLE_AUTOLOCK =
"enable_autolock"
25 "CAMERAPIR2":
"Camera detector",
26 "HOMEPAD1":
"VoiceBox",
27 "HUMIDITY1":
"Climate sensor",
28 "PIR2":
"Camera detector",
30 "SMARTCAMERA1":
"SmartCam",
31 "SMOKE2":
"Smoke detector",
32 "SMOKE3":
"Smoke detector",
33 "VOICEBOX1":
"VoiceBox",
34 "WATER1":
"Water detector",
35 "SMOKE":
"Smoke detector",
37 "VOICEBOX":
"VoiceBox",
41 "DISARMED": AlarmControlPanelState.DISARMED,
42 "ARMED_HOME": AlarmControlPanelState.ARMED_HOME,
43 "ARMED_AWAY": AlarmControlPanelState.ARMED_AWAY,
44 "PENDING": AlarmControlPanelState.PENDING,