-
-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #229 from choif/dev
Add Aqara WXKG07LM z2m/zha mappings
- Loading branch information
Showing
5 changed files
with
182 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
name: WXKG07LM (Aqara) | ||
device_support: | ||
- type: Light | ||
domain: light | ||
controller: WXKG07LMLightController | ||
delay: 350 | ||
mapping: | ||
- "Click on both → Toggle" | ||
- "Double click on both → Brighten up (1 step)" | ||
- "Long click on both → Dim down (1 step)" | ||
- "Click on left → Toggle" | ||
- "Double click on left → Brighten up (1 step)" | ||
- "Long click on left → Dim down (1 step)" | ||
- "Click on right → Toggle" | ||
- "Double click on right → Brighten up (1 step)" | ||
- "Long click on right → Dim down (1 step)" | ||
- type: Switch | ||
domain: switch | ||
controller: WXKG07LMSwitchController | ||
mapping: | ||
- "Click on both → Toggle" | ||
- "Click on left → Toggle" | ||
- "Click on right → Toggle" | ||
integrations: | ||
- name: Zigbee2MQTT | ||
codename: z2m | ||
actions: | ||
- "both → Click on both" | ||
- "both_double → Double click on both" | ||
- "both_long → Long click on both" | ||
- "left → Click on left" | ||
- "left_double → Double click on left" | ||
- "left_long → Long click on left" | ||
- "right → Click on right" | ||
- "right_double → Double click on right" | ||
- "right_long → Long click on right" | ||
- name: deCONZ | ||
codename: deconz | ||
actions: | ||
- "3002 → Click on both" | ||
- "3004 → Double click on both" | ||
- "3001 → Long click on both" | ||
- "1002 → Click on left" | ||
- "1004 → Double click on left" | ||
- "1001 → Long click on left" | ||
- "2002 → Click on right" | ||
- "2004 → Double click on right" | ||
- "2001 → Long click on right" | ||
- name: ZHA | ||
codename: zha | ||
actions: | ||
- "both_single → Click on both" | ||
- "both_double → Double click on both" | ||
- "both_long → Long click on both" | ||
- "left_single → Click on left" | ||
- "left_long press → Double click on left" | ||
- "hold_left → Long click on left" | ||
- "right_single → Click on right" | ||
- "right_double → Double click on right" | ||
- "right_long press → Long click on right" | ||
note: >- | ||
Note that all actions related to both, left and right, do the same. | ||
This is because ControllerX is design to control just one entity (light or media player). | ||
So you can include the `actions` parameter to include the actions needed. | ||
You can check <a href="https://github.com/xaviml/controllerx/issues/18#issuecomment-582535634">here</a> for reference. | ||
Also, this controller support hold action, but not release. This means that there is not | ||
smooth brightness changes when holding, just step by step everytime is held. |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
layout: controller | ||
title: WXKG07LM (Aqara) | ||
device: WXKG07LM | ||
--- |