Skip to content

Commit

Permalink
Added ZHA Aqara Double Rocker with Neutral (#157)
Browse files Browse the repository at this point in the history
* - Add Aqara Double Rocker

* - Crop image, redo SVG mappings
  • Loading branch information
nwithan8 authored Jul 29, 2023
1 parent 744a686 commit 68a0ea5
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
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,38 @@
name: Aqara Smart Light Switch (Double Rocker, with Neutral)
service: ZHA
event_type: zha_event
identifier_key: device_id
buttons:
- d: M 118 140 H 255 C 259 140 260 143 260 144 V 297 H 113 V 144 C 114 140 118 140 118 140
actions: # Top Button
- title: press
conditions:
- key: command
value: 41_single
- title: press 2x
conditions:
- key: command
value: 42_double
- d: M 113 297 H 260 V 451 C 260 453 257 455 256 455 H 117 C 114 455 113 452 113 451 V 297
actions: # Bottom Button
- title: press
conditions:
- key: command
value: 42_single
- title: press 2x
conditions:
- key: command
value: 42_double
# - d: M 135 157 H 272 C 276 157 277 160 277 161 V 468 C 277 470 274 472 273 472 H 135 C 132 472 130 469 130 468 V 161 C 131 157 135 157 135 157
- x: 183
y: 298
width: 45
actions: # Both Buttons
- title: both press
conditions:
- key: command
value: 51_single
- title: either hold
conditions:
- key: command
value: 1_hold

0 comments on commit 68a0ea5

Please sign in to comment.