Add deCONZ IKEA TRÅDFRI wireless dimmer fast rotate events (#41573)

Ref https://fccid.io/FHO-ICTC-G-1/User-Manual/User-Manual-3155271.pdf
This commit is contained in:
Ville Skyttä 2020-10-16 13:12:59 +03:00 committed by GitHub
parent 544b7c67e5
commit 92488849ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 0 deletions

View File

@ -30,6 +30,7 @@ CONF_TRIPLE_PRESS = "remote_button_triple_press"
CONF_QUADRUPLE_PRESS = "remote_button_quadruple_press"
CONF_QUINTUPLE_PRESS = "remote_button_quintuple_press"
CONF_ROTATED = "remote_button_rotated"
CONF_ROTATED_FAST = "remote_button_rotated_fast"
CONF_ROTATION_STOPPED = "remote_button_rotation_stopped"
CONF_AWAKE = "remote_awakened"
CONF_MOVE = "remote_moved"
@ -186,8 +187,10 @@ TRADFRI_REMOTE = {
TRADFRI_WIRELESS_DIMMER_MODEL = "TRADFRI wireless dimmer"
TRADFRI_WIRELESS_DIMMER = {
(CONF_ROTATED_FAST, CONF_LEFT): {CONF_EVENT: 4002},
(CONF_ROTATED, CONF_LEFT): {CONF_EVENT: 3002},
(CONF_ROTATED, CONF_RIGHT): {CONF_EVENT: 2002},
(CONF_ROTATED_FAST, CONF_RIGHT): {CONF_EVENT: 1002},
}
AQARA_CUBE_MODEL = "lumi.sensor_cube"

View File

@ -59,6 +59,7 @@
"remote_button_quadruple_press": "\"{subtype}\" button quadruple clicked",
"remote_button_quintuple_press": "\"{subtype}\" button quintuple clicked",
"remote_button_rotated": "Button rotated \"{subtype}\"",
"remote_button_rotated_fast": "Button rotated fast \"{subtype}\"",
"remote_button_rotation_stopped": "Button rotation \"{subtype}\" stopped",
"remote_falling": "Device in free fall",
"remote_awakened": "Device awakened",

View File

@ -67,6 +67,7 @@
"remote_button_quadruple_press": "\"{subtype}\" button quadruple clicked",
"remote_button_quintuple_press": "\"{subtype}\" button quintuple clicked",
"remote_button_rotated": "Button rotated \"{subtype}\"",
"remote_button_rotated_fast": "Button rotated fast \"{subtype}\"",
"remote_button_rotation_stopped": "Button rotation \"{subtype}\" stopped",
"remote_button_short_press": "\"{subtype}\" button pressed",
"remote_button_short_release": "\"{subtype}\" button released",