2020-07-05 22:10:26 +00:00
|
|
|
"""Constants for RFXtrx integration."""
|
|
|
|
|
2020-10-01 06:55:57 +00:00
|
|
|
CONF_FIRE_EVENT = "fire_event"
|
|
|
|
CONF_DATA_BITS = "data_bits"
|
|
|
|
CONF_AUTOMATIC_ADD = "automatic_add"
|
|
|
|
CONF_SIGNAL_REPETITIONS = "signal_repetitions"
|
|
|
|
CONF_DEBUG = "debug"
|
|
|
|
CONF_OFF_DELAY = "off_delay"
|
2021-01-03 11:59:22 +00:00
|
|
|
CONF_VENETIAN_BLIND_MODE = "venetian_blind_mode"
|
2020-10-01 06:55:57 +00:00
|
|
|
|
|
|
|
CONF_REMOVE_DEVICE = "remove_device"
|
|
|
|
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",
|
|
|
|
"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",
|
|
|
|
"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
|
|
|
|
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"
|
|
|
|
DATA_LISTENER = "ha_stop"
|
|
|
|
DATA_CLEANUP_CALLBACKS = "cleanup_callbacks"
|