From 33ed62d7207bde01f61503bc0d3b735f45d6ddf4 Mon Sep 17 00:00:00 2001
From: Phil Skorpil
Date: Tue, 2 Jun 2026 22:59:21 +0200
Subject: [PATCH] Add support for double press actions in Aqara H2 EU switch
blueprints
---
.../blueprints/zigbee2mqtt-aqara-h2-eu-1-switch.yaml | 4 ++++
.../blueprints/zigbee2mqtt-aqara-h2-eu-2-switch.yaml | 8 ++++++++
2 files changed, 12 insertions(+)
diff --git a/custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-h2-eu-1-switch.yaml b/custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-h2-eu-1-switch.yaml
index 8540737..31fee53 100644
--- a/custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-h2-eu-1-switch.yaml
+++ b/custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-h2-eu-1-switch.yaml
@@ -21,3 +21,7 @@ buttons:
conditions:
- key: payload
value: single_down
+ - title: press 2x
+ conditions:
+ - key: payload
+ value: double_down
diff --git a/custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-h2-eu-2-switch.yaml b/custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-h2-eu-2-switch.yaml
index fe5aac6..26afc81 100644
--- a/custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-h2-eu-2-switch.yaml
+++ b/custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-h2-eu-2-switch.yaml
@@ -30,6 +30,10 @@ buttons:
conditions:
- key: payload
value: single_left_down
+ - title: press 2x
+ conditions:
+ - key: payload
+ value: double_left_down
- x: 104
y: 104
width: 81
@@ -39,3 +43,7 @@ buttons:
conditions:
- key: payload
value: single_right_down
+ - title: press 2x
+ conditions:
+ - key: payload
+ value: double_right_down