diff --git a/custom_components/switch_manager/blueprints/shelly-shelly1.png b/custom_components/switch_manager/blueprints/shelly-shelly1.png new file mode 100644 index 00000000..cd58114d Binary files /dev/null and b/custom_components/switch_manager/blueprints/shelly-shelly1.png differ diff --git a/custom_components/switch_manager/blueprints/shelly-shelly1.yaml b/custom_components/switch_manager/blueprints/shelly-shelly1.yaml new file mode 100644 index 00000000..041e9568 --- /dev/null +++ b/custom_components/switch_manager/blueprints/shelly-shelly1.yaml @@ -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 \ No newline at end of file diff --git a/custom_components/switch_manager/blueprints/shelly-shelly25.png b/custom_components/switch_manager/blueprints/shelly-shelly25.png new file mode 100644 index 00000000..97249cc4 Binary files /dev/null and b/custom_components/switch_manager/blueprints/shelly-shelly25.png differ diff --git a/custom_components/switch_manager/blueprints/shelly-shelly25.yaml b/custom_components/switch_manager/blueprints/shelly-shelly25.yaml new file mode 100644 index 00000000..ba450358 --- /dev/null +++ b/custom_components/switch_manager/blueprints/shelly-shelly25.yaml @@ -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 diff --git a/custom_components/switch_manager/blueprints/shelly-shellyplus2pm.png b/custom_components/switch_manager/blueprints/shelly-shellyplus2pm.png new file mode 100644 index 00000000..97249cc4 Binary files /dev/null and b/custom_components/switch_manager/blueprints/shelly-shellyplus2pm.png differ diff --git a/custom_components/switch_manager/blueprints/shelly-shellyplus2pm.yaml b/custom_components/switch_manager/blueprints/shelly-shellyplus2pm.yaml new file mode 100644 index 00000000..616287a9 --- /dev/null +++ b/custom_components/switch_manager/blueprints/shelly-shellyplus2pm.yaml @@ -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