From 86a850a408d3f8a5a150234ae318e41b4e696125 Mon Sep 17 00:00:00 2001 From: Alexey Khit Date: Sun, 19 Sep 2021 20:02:29 +0300 Subject: [PATCH] Support both click for Aqara Double Wall Button E1 --- custom_components/xiaomi_gateway3/core/zigbee.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/custom_components/xiaomi_gateway3/core/zigbee.py b/custom_components/xiaomi_gateway3/core/zigbee.py index fa189b15..13c5e55c 100644 --- a/custom_components/xiaomi_gateway3/core/zigbee.py +++ b/custom_components/xiaomi_gateway3/core/zigbee.py @@ -476,10 +476,11 @@ ['7.1', None, 'button_2: 1', None], # single ['7.2', None, 'button_2: 2', None], # double ['7.3', None, 'button_2: 16', None], # long + ['8.1', None, 'button_both: 4', None], # single ['3.2', '3.2', 'battery', 'sensor'], [None, None, 'action', 'sensor'], ] -},{ +}, { # https://miot-spec.org/miot-spec-v2/instance?type=urn:miot-spec-v2:device:curtain:0000A00C:lumi-acn002:1 'lumi.curtain.acn002': ["Aqara", "Roller Shade E1", "ZNJLBL01LM"], 'miot_spec': [