Skip to content

Commit

Permalink
Added ZHA Tuya 3 scene remote (#243)
Browse files Browse the repository at this point in the history
* +Tuya 3 scene remote for zha

* 2 new zha devices

Aqara wireless mini switch & third reality smart button.
  • Loading branch information
JzJad authored Aug 24, 2024
1 parent 1aa8c75 commit 665abad
Show file tree
Hide file tree
Showing 6 changed files with 109 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,22 @@
name: Aqara E1 Wireless Mini Switch
service: ZHA
event_type: zha_event
identifier_key: device_id
buttons:
- actions:
- title: press
conditions:
- key: command
value: button_single_press
- title: press 2x
conditions:
- key: command
value: button_double_press
- title: hold
conditions:
- key: command
value: button_long_press
- title: hold (released)
conditions:
- key: command
value: button_released
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,22 @@
name: ThirdReality - Smart Button
service: ZHA
event_type: zha_event
identifier_key: device_id
buttons:
- actions:
- title: press
conditions:
- key: command
value: single
- title: press 2x
conditions:
- key: command
value: double
- title: hold
conditions:
- key: command
value: hold
- title: hold (released)
conditions:
- key: command
value: release
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,65 @@
name: TuYa 3 Button Scene
service: ZHA
event_type: zha_event
identifier_key: device_id
buttons:
- x: 0
y: 0
width: 125
height: 382
conditions:
- key: endpoint_id
value: 1
actions:
- title: press
conditions:
- key: command
value: remote_button_short_press
- title: press 2x
conditions:
- key: command
value: remote_button_double_press
- title: hold
conditions:
- key: command
value: remote_button_long_press
- x: 125
y: 0
width: 125
height: 382
conditions:
- key: endpoint_id
value: 2
actions:
- title: press
conditions:
- key: command
value: remote_button_short_press
- title: press 2x
conditions:
- key: command
value: remote_button_double_press
- title: hold
conditions:
- key: command
value: remote_button_long_press
- x: 250
y: 0
width: 127
height: 382
conditions:
- key: endpoint_id
value: 3
actions:
- title: press
conditions:
- key: command
value: remote_button_short_press
- title: press 2x
conditions:
- key: command
value: remote_button_double_press
- title: hold
conditions:
- key: command
value: remote_button_long_press

0 comments on commit 665abad

Please sign in to comment.