Home Assistant Unofficial Reference
2024.12.1
const.py
Go to the documentation of this file.
1
"""Constants of the Xiaomi Aqara component."""
2
3
DOMAIN =
"xiaomi_aqara"
4
5
GATEWAYS_KEY =
"gateways"
6
LISTENER_KEY =
"listener"
7
KEY_UNSUB_STOP =
"unsub_stop"
8
KEY_SETUP_LOCK =
"setup_lock"
9
10
ZEROCONF_GATEWAY =
"lumi-gateway"
11
ZEROCONF_ACPARTNER =
"lumi-acpartner"
12
13
CONF_INTERFACE =
"interface"
14
CONF_KEY =
"key"
15
CONF_SID =
"sid"
16
17
DEFAULT_DISCOVERY_RETRY = 5
18
19
BATTERY_MODELS = [
20
"sensor_ht"
,
21
"weather"
,
22
"weather.v1"
,
23
"sensor_motion.aq2"
,
24
"vibration"
,
25
"magnet"
,
26
"sensor_magnet"
,
27
"sensor_magnet.aq2"
,
28
"motion"
,
29
"sensor_motion"
,
30
"sensor_motion.aq2"
,
31
"switch"
,
32
"sensor_switch"
,
33
"sensor_switch.aq2"
,
34
"sensor_switch.aq3"
,
35
"remote.b1acn01"
,
36
"86sw1"
,
37
"sensor_86sw1"
,
38
"sensor_86sw1.aq1"
,
39
"remote.b186acn01"
,
40
"remote.b186acn02"
,
41
"86sw2"
,
42
"sensor_86sw2"
,
43
"sensor_86sw2.aq1"
,
44
"remote.b286acn01"
,
45
"remote.b286acn02"
,
46
"cube"
,
47
"sensor_cube"
,
48
"sensor_cube.aqgl01"
,
49
"smoke"
,
50
"sensor_smoke"
,
51
"sensor_wleak.aq1"
,
52
"vibration"
,
53
"vibration.aq1"
,
54
"curtain"
,
55
"curtain.aq2"
,
56
"curtain.hagl04"
,
57
"lock.aq1"
,
58
"lock.acn02"
,
59
]
60
61
POWER_MODELS = [
62
"86plug"
,
63
"ctrl_86plug"
,
64
"ctrl_86plug.aq1"
,
65
]
core
homeassistant
components
xiaomi_aqara
const.py
Generated by
1.9.1