Skip to content

Commit

Permalink
fix(device): fix deconz mapping for WXKG12LM
Browse files Browse the repository at this point in the history
related to #184
  • Loading branch information
xaviml committed Nov 27, 2020
1 parent d0522ef commit 60432ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/controllerx/cx_devices/aqara.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion docs/_data/controllers/WXKG12LM.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 60432ec

Please sign in to comment.