core/homeassistant/components/rfxtrx/const.py

26 lines
381 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)",
]
ATTR_EVENT = "event"
SERVICE_SEND = "send"
DEVICE_PACKET_TYPE_LIGHTING4 = 0x13
DATA_RFXTRX_CONFIG = "rfxtrx_config"
EVENT_RFXTRX_EVENT = "rfxtrx_event"