* Switch to dispatcher * Adjust tests for dispatcher * Store device in sensor * Move state application into binary sensor entity class * Move more specifics into per platform classes * Should not apply event in init of sensor * Switch to call_later * Make apply_event public * No point in slugifying debug logs * Adjust error in off delay and event * Make sure we match with masked id
16 lines
225 B
Python
16 lines
225 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)",
|
|
]
|