Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Shelly 1, 2.5, and Plus 2PM #49

Merged
merged 3 commits into from
Jan 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions custom_components/switch_manager/blueprints/shelly-shelly1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Shelly 1
service: Shelly
event_type: shelly.click
identifier_key: device
buttons:
- x: 123
y: 215
width: 80
height: 80
actions:
- title: tap
conditions:
- key: click_type
value: single
- title: hold
conditions:
- key: click_type
value: long
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 38 additions & 0 deletions custom_components/switch_manager/blueprints/shelly-shelly25.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Shelly 2.5
service: Shelly
event_type: shelly.click
identifier_key: device
buttons:
- x: 110
y: 123
width: 66
height: 66
conditions:
- key: channel
value: 1
actions:
- title: tap
conditions:
- key: click_type
value: single
- title: hold
conditions:
- key: click_type
value: long

- x: 110
y: 241
width: 66
height: 66
conditions:
- key: channel
value: 2
actions:
- title: tap
conditions:
- key: click_type
value: single
- title: hold
conditions:
- key: click_type
value: long
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: Shelly Plus 2PM
service: Shelly
event_type: shelly.click
identifier_key: device
buttons:
- x: 110
y: 123
width: 66
height: 66
conditions:
- key: channel
value: 1
actions:
- title: tap
conditions:
- key: click_type
value: single_push
- title: hold
conditions:
- key: click_type
value: long_push

- x: 110
y: 241
width: 66
height: 66
conditions:
- key: channel
value: 2
actions:
- title: tap
conditions:
- key: click_type
value: single_push
- title: hold
conditions:
- key: click_type
value: long_push