Home Assistant Unofficial Reference
2024.12.1
const.py
Go to the documentation of this file.
1
"""Constants for the drop_connect integration."""
2
3
# Keys for values used in the config_entry data dictionary
4
CONF_COMMAND_TOPIC =
"drop_command_topic"
5
CONF_DATA_TOPIC =
"drop_data_topic"
6
CONF_DEVICE_DESC =
"device_desc"
7
CONF_DEVICE_ID =
"device_id"
8
CONF_DEVICE_TYPE =
"device_type"
9
CONF_HUB_ID =
"drop_hub_id"
10
CONF_DEVICE_NAME =
"name"
11
CONF_DEVICE_OWNER_ID =
"drop_device_owner_id"
12
13
# Values for DROP device types
14
DEV_ALERT =
"alrt"
15
DEV_FILTER =
"filt"
16
DEV_HUB =
"hub"
17
DEV_LEAK_DETECTOR =
"leak"
18
DEV_PROTECTION_VALVE =
"pv"
19
DEV_PUMP_CONTROLLER =
"pc"
20
DEV_RO_FILTER =
"ro"
21
DEV_SALT_SENSOR =
"salt"
22
DEV_SOFTENER =
"soft"
23
24
DISCOVERY_TOPIC =
"drop_connect/discovery/#"
25
26
DOMAIN =
"drop_connect"
core
homeassistant
components
drop_connect
const.py
Generated by
1.9.1