1
0
mirror of https://github.com/elisspace/core.git synced 2026-09-15 07:26:59 +00:00
Files
core/homeassistant/components/rfxtrx/const.py
Rob Bierbooms d9dba9142c Move data on import in rfxtrx integration into ConfigEntry (#38022)
* Move all data imported from yaml to ConfigEntry

* Revert changes that prevent updating yaml entry

* Cleanup code around time conversion
2020-07-21 09:44:00 +02:00

25 lines
344 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
EVENT_RFXTRX_EVENT = "rfxtrx_event"