Support for Shelly Input Events (#43479)

This commit is contained in:
Shay Levy 2020-11-25 16:29:01 +02:00 committed by GitHub
parent b3be708db6
commit ebaf143cf6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 81 additions and 27 deletions

View file

@ -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",
}