diff --git a/custom_components/switch_manager/blueprints/zha-aqara-e1-wireless-mini-switch.png b/custom_components/switch_manager/blueprints/zha-aqara-e1-wireless-mini-switch.png new file mode 100644 index 0000000..7084ad3 Binary files /dev/null and b/custom_components/switch_manager/blueprints/zha-aqara-e1-wireless-mini-switch.png differ diff --git a/custom_components/switch_manager/blueprints/zha-aqara-e1-wireless-mini-switch.yaml b/custom_components/switch_manager/blueprints/zha-aqara-e1-wireless-mini-switch.yaml new file mode 100644 index 0000000..17cd473 --- /dev/null +++ b/custom_components/switch_manager/blueprints/zha-aqara-e1-wireless-mini-switch.yaml @@ -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 diff --git a/custom_components/switch_manager/blueprints/zha-thirdreality-smart-button.png b/custom_components/switch_manager/blueprints/zha-thirdreality-smart-button.png new file mode 100644 index 0000000..382ff88 Binary files /dev/null and b/custom_components/switch_manager/blueprints/zha-thirdreality-smart-button.png differ diff --git a/custom_components/switch_manager/blueprints/zha-thirdreality-smart-button.yaml b/custom_components/switch_manager/blueprints/zha-thirdreality-smart-button.yaml new file mode 100644 index 0000000..6d30590 --- /dev/null +++ b/custom_components/switch_manager/blueprints/zha-thirdreality-smart-button.yaml @@ -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 \ No newline at end of file diff --git a/custom_components/switch_manager/blueprints/zha-tuya-3-scene-remote.png b/custom_components/switch_manager/blueprints/zha-tuya-3-scene-remote.png new file mode 100644 index 0000000..fdf6922 Binary files /dev/null and b/custom_components/switch_manager/blueprints/zha-tuya-3-scene-remote.png differ diff --git a/custom_components/switch_manager/blueprints/zha-tuya-3-scene-remote.yaml b/custom_components/switch_manager/blueprints/zha-tuya-3-scene-remote.yaml new file mode 100644 index 0000000..5cf23d4 --- /dev/null +++ b/custom_components/switch_manager/blueprints/zha-tuya-3-scene-remote.yaml @@ -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 \ No newline at end of file