2020-07-05 22:10:26 +00:00
|
|
|
"""Constants for RFXtrx integration."""
|
|
|
|
|
2020-10-01 06:55:57 +00:00
|
|
|
CONF_DATA_BITS = "data_bits"
|
|
|
|
CONF_AUTOMATIC_ADD = "automatic_add"
|
|
|
|
CONF_OFF_DELAY = "off_delay"
|
2021-01-03 11:59:22 +00:00
|
|
|
CONF_VENETIAN_BLIND_MODE = "venetian_blind_mode"
|
2022-02-25 19:43:29 +00:00
|
|
|
CONF_PROTOCOLS = "protocols"
|
2020-10-01 06:55:57 +00:00
|
|
|
|
|
|
|
CONF_REPLACE_DEVICE = "replace_device"
|
2020-07-05 22:10:26 +00:00
|
|
|
|
2021-01-03 11:59:22 +00:00
|
|
|
CONST_VENETIAN_BLIND_MODE_DEFAULT = "Unknown"
|
|
|
|
CONST_VENETIAN_BLIND_MODE_EU = "EU"
|
|
|
|
CONST_VENETIAN_BLIND_MODE_US = "US"
|
|
|
|
|
2020-07-05 22:10:26 +00:00
|
|
|
COMMAND_ON_LIST = [
|
|
|
|
"On",
|
|
|
|
"Up",
|
|
|
|
"Stop",
|
2021-07-23 16:45:31 +00:00
|
|
|
"Group on",
|
2020-07-05 22:10:26 +00:00
|
|
|
"Open (inline relay)",
|
|
|
|
"Stop (inline relay)",
|
2020-07-25 20:56:58 +00:00
|
|
|
"Enable sun automation",
|
2020-07-05 22:10:26 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
COMMAND_OFF_LIST = [
|
|
|
|
"Off",
|
2021-07-23 16:45:31 +00:00
|
|
|
"Group off",
|
2020-07-05 22:10:26 +00:00
|
|
|
"Down",
|
|
|
|
"Close (inline relay)",
|
2020-07-25 20:56:58 +00:00
|
|
|
"Disable sun automation",
|
2020-07-05 22:10:26 +00:00
|
|
|
]
|
2020-07-13 00:57:19 +00:00
|
|
|
|
2021-07-23 16:45:31 +00:00
|
|
|
COMMAND_GROUP_LIST = [
|
|
|
|
"Group on",
|
|
|
|
"Group off",
|
|
|
|
]
|
|
|
|
|
2020-07-13 14:54:52 +00:00
|
|
|
ATTR_EVENT = "event"
|
|
|
|
|
|
|
|
SERVICE_SEND = "send"
|
|
|
|
|
2020-07-10 12:52:07 +00:00
|
|
|
DEVICE_PACKET_TYPE_LIGHTING4 = 0x13
|
2020-07-13 00:57:19 +00:00
|
|
|
|
|
|
|
EVENT_RFXTRX_EVENT = "rfxtrx_event"
|
2020-11-04 10:30:46 +00:00
|
|
|
|
|
|
|
DATA_RFXOBJECT = "rfxobject"
|
2022-03-12 04:27:08 +00:00
|
|
|
|
|
|
|
DOMAIN = "rfxtrx"
|