Support for Shelly Input Events (#43479)
This commit is contained in:
parent
b3be708db6
commit
ebaf143cf6
4 changed files with 81 additions and 27 deletions
|
@ -22,3 +22,13 @@ UPDATE_PERIOD_MULTIPLIER = 2.2
|
|||
|
||||
# Shelly Air - Maximum work hours before lamp replacement
|
||||
SHAIR_MAX_WORK_HOURS = 9000
|
||||
|
||||
# Map Shelly input events
|
||||
INPUTS_EVENTS_DICT = {
|
||||
"S": "single",
|
||||
"SS": "double",
|
||||
"SSS": "triple",
|
||||
"L": "long",
|
||||
"SL": "single_long",
|
||||
"LS": "long_single",
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue