Skip to content

Commit

Permalink
Added ZHA 1 & 2 gang version of Aqara D1 switch (#121)
Browse files Browse the repository at this point in the history
* Aqara 1 & 2 gang remote ZHA

* Rename filename to precise switch version

* Remove invalid keys

---------

Co-authored-by: Juicy <[email protected]>
  • Loading branch information
Lebe1ge and Julien-Decoen authored May 23, 2023
1 parent 28efe92 commit fc74653
Show file tree
Hide file tree
Showing 6 changed files with 114 additions and 0 deletions.
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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

0 comments on commit fc74653

Please sign in to comment.