-
-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added ZHA Tuya 3 scene remote (#243)
* +Tuya 3 scene remote for zha * 2 new zha devices Aqara wireless mini switch & third reality smart button.
- Loading branch information
Showing
6 changed files
with
109 additions
and
0 deletions.
There are no files selected for viewing
Binary file added
BIN
+20.5 KB
custom_components/switch_manager/blueprints/zha-aqara-e1-wireless-mini-switch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions
22
custom_components/switch_manager/blueprints/zha-aqara-e1-wireless-mini-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,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 |
Binary file added
BIN
+14.6 KB
custom_components/switch_manager/blueprints/zha-thirdreality-smart-button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions
22
custom_components/switch_manager/blueprints/zha-thirdreality-smart-button.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,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 |
Binary file added
BIN
+93 KB
custom_components/switch_manager/blueprints/zha-tuya-3-scene-remote.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
65 changes: 65 additions & 0 deletions
65
custom_components/switch_manager/blueprints/zha-tuya-3-scene-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,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 |