mirror of
https://github.com/home-assistant/core.git
synced 2025-05-24 07:47:08 +00:00

* Add the ability to send a raw command to device * Add a test for new service * Use async test * Sort includes
25 lines
344 B
Python
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"
|