Relax detection of Aqara Cuve

This commit is contained in:
Stephan Hadinger 2020-06-28 18:06:25 +02:00
parent ac80807c4e
commit 908fca70ab
1 changed files with 1 additions and 1 deletions

View File

@ -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");