hass-core/homeassistant/components/rfxtrx/const.py
Joakim Plate 67038c6ba8
Rewrite rfxtrx init logic to do away with global object (#37699)
* Rewrite init logic to do away with global object

* Put constant at end

* Use a set instead of list for device_ids
2020-07-10 14:52:07 +02:00

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