From 97813e6a586c9925e8ed40580bc9c9b6bb0b0404 Mon Sep 17 00:00:00 2001 From: Stephan Hadinger Date: Mon, 17 Aug 2020 20:31:43 +0200 Subject: [PATCH] Keep non-handled `0012/0055` Aqara events --- tasmota/xdrv_23_zigbee_5_converters.ino | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasmota/xdrv_23_zigbee_5_converters.ino b/tasmota/xdrv_23_zigbee_5_converters.ino index d3f9f1342..62fa7a832 100644 --- a/tasmota/xdrv_23_zigbee_5_converters.ino +++ b/tasmota/xdrv_23_zigbee_5_converters.ino @@ -1342,6 +1342,7 @@ int32_t Z_AqaraCubeFunc(const class ZCLFrame *zcl, uint16_t shortaddr, JsonObjec json[aqara_cube_side] = val - 512; break; } + return 1; } // Source: https://github.com/kirovilya/ioBroker.zigbee @@ -1363,7 +1364,7 @@ int32_t Z_AqaraCubeFunc(const class ZCLFrame *zcl, uint16_t shortaddr, JsonObjec // presentValue = x + 256 = push/slide cube while side x is on top // presentValue = x + 512 = double tap while side x is on top - return 1; + return 0; } // Aqara Vibration Sensor - special proprietary attributes