-
-
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 Shelly Wall Switch Variants (#274)
* Create shelly-shellyplusi4 * Add image of shelly i4 * Rename shelly-shellyplusi4 to shelly-shellyplusi4.yaml * Add Shelly wall switches * Fix Wall Switch 1 * Fix init and relased actions
- Loading branch information
1 parent
266f6a7
commit 8ca53ed
Showing
6 changed files
with
236 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions
30
custom_components/switch_manager/blueprints/shelly-wall-switch-1.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,30 @@ | ||
name: Shelly Wall Switch (1 Button) | ||
service: Shelly | ||
event_type: shelly.click | ||
identifier_key: device | ||
buttons: | ||
- actions: | ||
- title: init | ||
conditions: | ||
- key: click_type | ||
value: btn_down | ||
- title: press | ||
conditions: | ||
- key: click_type | ||
value: single_push | ||
- title: press 2x | ||
conditions: | ||
- key: click_type | ||
value: double_push | ||
- title: press 3x | ||
conditions: | ||
- key: click_type | ||
value: triple_push | ||
- title: hold | ||
conditions: | ||
- key: click_type | ||
value: long_push | ||
- title: released | ||
conditions: | ||
- key: click_type | ||
value: btn_up |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
70 changes: 70 additions & 0 deletions
70
custom_components/switch_manager/blueprints/shelly-wall-switch-2.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,70 @@ | ||
name: Shelly Wall Switch (2 Buttons) | ||
service: Shelly | ||
event_type: shelly.click | ||
identifier_key: device | ||
buttons: | ||
- x: 32 | ||
y: 34 | ||
width: 169 | ||
height: 343 | ||
conditions: | ||
- key: channel | ||
value: 1 | ||
actions: | ||
- title: init | ||
conditions: | ||
- key: click_type | ||
value: btn_down | ||
- title: press | ||
conditions: | ||
- key: click_type | ||
value: single_push | ||
- title: press 2x | ||
conditions: | ||
- key: click_type | ||
value: double_push | ||
- title: press 3x | ||
conditions: | ||
- key: click_type | ||
value: triple_push | ||
- title: hold | ||
conditions: | ||
- key: click_type | ||
value: long_push | ||
- title: released | ||
conditions: | ||
- key: click_type | ||
value: btn_up | ||
|
||
- x: 210 | ||
y: 34 | ||
width: 169 | ||
height: 343 | ||
conditions: | ||
- key: channel | ||
value: 2 | ||
actions: | ||
- title: init | ||
conditions: | ||
- key: click_type | ||
value: btn_down | ||
- title: press | ||
conditions: | ||
- key: click_type | ||
value: single_push | ||
- title: press 2x | ||
conditions: | ||
- key: click_type | ||
value: double_push | ||
- title: press 3x | ||
conditions: | ||
- key: click_type | ||
value: triple_push | ||
- title: hold | ||
conditions: | ||
- key: click_type | ||
value: long_push | ||
- title: released | ||
conditions: | ||
- key: click_type | ||
value: btn_up |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
136 changes: 136 additions & 0 deletions
136
custom_components/switch_manager/blueprints/shelly-wall-switch-4.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,136 @@ | ||
name: Shelly Wall Switch (4 Buttons)/Shelly Plus i4 | ||
service: Shelly | ||
event_type: shelly.click | ||
identifier_key: device | ||
buttons: | ||
- x: 40 | ||
y: 40 | ||
width: 169 | ||
height: 169 | ||
conditions: | ||
- key: channel | ||
value: 1 | ||
actions: | ||
- title: init | ||
conditions: | ||
- key: click_type | ||
value: btn_down | ||
- title: press | ||
conditions: | ||
- key: click_type | ||
value: single_push | ||
- title: press 2x | ||
conditions: | ||
- key: click_type | ||
value: double_push | ||
- title: press 3x | ||
conditions: | ||
- key: click_type | ||
value: triple_push | ||
- title: hold | ||
conditions: | ||
- key: click_type | ||
value: long_push | ||
- title: released | ||
conditions: | ||
- key: click_type | ||
value: btn_up | ||
|
||
- x: 219 | ||
y: 40 | ||
width: 169 | ||
height: 169 | ||
conditions: | ||
- key: channel | ||
value: 2 | ||
actions: | ||
- title: init | ||
conditions: | ||
- key: click_type | ||
value: btn_down | ||
- title: press | ||
conditions: | ||
- key: click_type | ||
value: single_push | ||
- title: press 2x | ||
conditions: | ||
- key: click_type | ||
value: double_push | ||
- title: press 3x | ||
conditions: | ||
- key: click_type | ||
value: triple_push | ||
- title: hold | ||
conditions: | ||
- key: click_type | ||
value: long_push | ||
- title: released | ||
conditions: | ||
- key: click_type | ||
value: btn_up | ||
|
||
- x: 40 | ||
y: 219 | ||
width: 169 | ||
height: 169 | ||
conditions: | ||
- key: channel | ||
value: 3 | ||
actions: | ||
- title: init | ||
conditions: | ||
- key: click_type | ||
value: btn_down | ||
- title: press | ||
conditions: | ||
- key: click_type | ||
value: single_push | ||
- title: press 2x | ||
conditions: | ||
- key: click_type | ||
value: double_push | ||
- title: press 3x | ||
conditions: | ||
- key: click_type | ||
value: triple_push | ||
- title: hold | ||
conditions: | ||
- key: click_type | ||
value: long_push | ||
- title: released | ||
conditions: | ||
- key: click_type | ||
value: btn_up | ||
|
||
- x: 219 | ||
y: 219 | ||
width: 169 | ||
height: 169 | ||
conditions: | ||
- key: channel | ||
value: 4 | ||
actions: | ||
- title: init | ||
conditions: | ||
- key: click_type | ||
value: btn_down | ||
- title: press | ||
conditions: | ||
- key: click_type | ||
value: single_push | ||
- title: press 2x | ||
conditions: | ||
- key: click_type | ||
value: double_push | ||
- title: press 3x | ||
conditions: | ||
- key: click_type | ||
value: triple_push | ||
- title: hold | ||
conditions: | ||
- key: click_type | ||
value: long_push | ||
- title: released | ||
conditions: | ||
- key: click_type | ||
value: btn_up |