-
-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added ZHA 1 & 2 gang version of Aqara D1 switch (#121)
* Aqara 1 & 2 gang remote ZHA * Rename filename to precise switch version * Remove invalid keys --------- Co-authored-by: Juicy <[email protected]>
- Loading branch information
1 parent
28efe92
commit fc74653
Showing
6 changed files
with
114 additions
and
0 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
custom_components/switch_manager/blueprints/zha-aqara-1-gang-remote.yaml
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,18 @@ | ||
name: Aqara 1 Gang Remote | ||
service: ZHA | ||
event_type: zha_event | ||
identifier_key: device_id | ||
buttons: | ||
- actions: | ||
- title: single press | ||
conditions: | ||
- key: command | ||
value: single | ||
- title: double press | ||
conditions: | ||
- key: command | ||
value: double | ||
- title: long | ||
conditions: | ||
- key: command | ||
value: long press |
39 changes: 39 additions & 0 deletions
39
custom_components/switch_manager/blueprints/zha-aqara-2-gang-remote.yaml
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,39 @@ | ||
name: Aqara 2 Gang Remote | ||
service: ZHA | ||
event_type: zha_event | ||
identifier_key: device_id | ||
buttons: | ||
- x: 0 | ||
y: 0 | ||
width: 190 | ||
height: 385 | ||
actions: | ||
- title: single press | ||
conditions: | ||
- key: command | ||
value: left_single | ||
- title: double press | ||
conditions: | ||
- key: command | ||
value: left_double | ||
- title: long | ||
conditions: | ||
- key: command | ||
value: left_long press | ||
- x: 190 | ||
y: 0 | ||
width: 190 | ||
height: 385 | ||
actions: | ||
- title: single press | ||
conditions: | ||
- key: command | ||
value: right_single | ||
- title: double press | ||
conditions: | ||
- key: command | ||
value: right_double | ||
- title: long | ||
conditions: | ||
- key: command | ||
value: right_long press |
Binary file added
BIN
+99.6 KB
custom_components/switch_manager/blueprints/zha-aqara-d1-1-gang-switch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions
18
custom_components/switch_manager/blueprints/zha-aqara-d1-1-gang-switch.yaml
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,18 @@ | ||
name: Aqara D1 1 gang switch | ||
service: ZHA | ||
event_type: zha_event | ||
identifier_key: device_id | ||
buttons: | ||
- actions: | ||
- title: single press | ||
conditions: | ||
- key: command | ||
value: single | ||
- title: double press | ||
conditions: | ||
- key: command | ||
value: double | ||
- title: long | ||
conditions: | ||
- key: command | ||
value: long press |
Binary file added
BIN
+71.3 KB
custom_components/switch_manager/blueprints/zha-aqara-d1-2-gang-switch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 39 additions & 0 deletions
39
custom_components/switch_manager/blueprints/zha-aqara-d1-2-gang-switch.yaml
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,39 @@ | ||
name: Aqara D1 2 gang switch | ||
service: ZHA | ||
event_type: zha_event | ||
identifier_key: device_id | ||
buttons: | ||
- x: 0 | ||
y: 0 | ||
width: 190 | ||
height: 385 | ||
actions: | ||
- title: single press | ||
conditions: | ||
- key: command | ||
value: left_single | ||
- title: double press | ||
conditions: | ||
- key: command | ||
value: left_double | ||
- title: long | ||
conditions: | ||
- key: command | ||
value: left_long press | ||
- x: 190 | ||
y: 0 | ||
width: 190 | ||
height: 385 | ||
actions: | ||
- title: single press | ||
conditions: | ||
- key: command | ||
value: right_single | ||
- title: double press | ||
conditions: | ||
- key: command | ||
value: right_double | ||
- title: long | ||
conditions: | ||
- key: command | ||
value: right_long press |