From 908fca70ab5718e19c229dd8b812a1ae5b76b466 Mon Sep 17 00:00:00 2001 From: Stephan Hadinger Date: Sun, 28 Jun 2020 18:06:25 +0200 Subject: [PATCH] Relax detection of Aqara Cuve --- tasmota/xdrv_23_zigbee_5_converters.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/xdrv_23_zigbee_5_converters.ino b/tasmota/xdrv_23_zigbee_5_converters.ino index 4456c177f..497f867e8 100644 --- a/tasmota/xdrv_23_zigbee_5_converters.ino +++ b/tasmota/xdrv_23_zigbee_5_converters.ino @@ -1210,7 +1210,7 @@ int32_t Z_AqaraCubeFunc(const class ZCLFrame *zcl, uint16_t shortaddr, JsonObjec const char * modelId_c = zigbee_devices.getModelId(shortaddr); // null if unknown String modelId((char*) modelId_c); - if (modelId.startsWith(F("lumi.sensor_cube."))) { // only for Aqara cube + if (modelId.startsWith(F("lumi.sensor_cube"))) { // only for Aqara cube int32_t val = value; const __FlashStringHelper *aqara_cube = F("AqaraCube"); const __FlashStringHelper *aqara_cube_side = F("AqaraCubeSide");