* Rewrite init logic to do away with global object * Put constant at end * Use a set instead of list for device_ids
17 lines
261 B
Python
17 lines
261 B
Python
"""Constants for RFXtrx integration."""
|
|
|
|
|
|
COMMAND_ON_LIST = [
|
|
"On",
|
|
"Up",
|
|
"Stop",
|
|
"Open (inline relay)",
|
|
"Stop (inline relay)",
|
|
]
|
|
|
|
COMMAND_OFF_LIST = [
|
|
"Off",
|
|
"Down",
|
|
"Close (inline relay)",
|
|
]
|
|
DEVICE_PACKET_TYPE_LIGHTING4 = 0x13
|