From 60432ec63ca3571c866f0a4ef202ed952a0a1a2a Mon Sep 17 00:00:00 2001 From: Xavier Moreno Date: Fri, 27 Nov 2020 22:35:31 +0100 Subject: [PATCH] fix(device): fix deconz mapping for WXKG12LM related to #184 --- apps/controllerx/cx_devices/aqara.py | 2 +- docs/_data/controllers/WXKG12LM.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/controllerx/cx_devices/aqara.py b/apps/controllerx/cx_devices/aqara.py index 35714693..e6aa67d9 100644 --- a/apps/controllerx/cx_devices/aqara.py +++ b/apps/controllerx/cx_devices/aqara.py @@ -143,7 +143,7 @@ def get_deconz_actions_mapping(self) -> TypeActionsMapping: return { 1002: Light.TOGGLE, # button_1_press 1004: Light.ON_FULL_BRIGHTNESS, # button_1_double_press - 1006: Light.ON_MIN_BRIGHTNESS, # button_1_shake + 1007: Light.ON_MIN_BRIGHTNESS, # button_1_shake 1001: Light.HOLD_BRIGHTNESS_TOGGLE, # button_1_hold 1003: Light.RELEASE, # button_1_release_after_hold } diff --git a/docs/_data/controllers/WXKG12LM.yml b/docs/_data/controllers/WXKG12LM.yml index ea642fa6..6206becc 100644 --- a/docs/_data/controllers/WXKG12LM.yml +++ b/docs/_data/controllers/WXKG12LM.yml @@ -27,6 +27,6 @@ integrations: actions: - "1002 → 1 click" - "1004 → 2 clicks" - - "1006 → Shake the controller" + - "1007 → Shake the controller" - "1001 → Hold the button" - "1003 → Release the button" \ No newline at end of file