diff --git a/homeassistant/components/deconz/device_trigger.py b/homeassistant/components/deconz/device_trigger.py index e400afd9b9f..869a6ef3594 100644 --- a/homeassistant/components/deconz/device_trigger.py +++ b/homeassistant/components/deconz/device_trigger.py @@ -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" diff --git a/homeassistant/components/deconz/strings.json b/homeassistant/components/deconz/strings.json index ed854623ef8..1a3ba9d0950 100644 --- a/homeassistant/components/deconz/strings.json +++ b/homeassistant/components/deconz/strings.json @@ -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", diff --git a/homeassistant/components/deconz/translations/en.json b/homeassistant/components/deconz/translations/en.json index fc13160ce66..3604e2464c8 100644 --- a/homeassistant/components/deconz/translations/en.json +++ b/homeassistant/components/deconz/translations/en.json @@ -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",