2020-07-05 22:10:26 +00:00
|
|
|
"""Constants for RFXtrx integration."""
|
|
|
|
|
|
|
|
|
|
|
|
COMMAND_ON_LIST = [
|
|
|
|
"On",
|
|
|
|
"Up",
|
|
|
|
"Stop",
|
|
|
|
"Open (inline relay)",
|
|
|
|
"Stop (inline relay)",
|
|
|
|
]
|
|
|
|
|
|
|
|
COMMAND_OFF_LIST = [
|
|
|
|
"Off",
|
|
|
|
"Down",
|
|
|
|
"Close (inline relay)",
|
|
|
|
]
|
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"
|