mirror of
https://github.com/elisspace/core.git
synced 2026-09-27 13:07:16 +00:00
* Rewrite init logic to do away with global object * Put constant at end * Use a set instead of list for device_ids
18 lines
261 B
Python
18 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
|