mirror of https://github.com/arendst/Tasmota.git
Relax detection of Aqara Cuve
This commit is contained in:
parent
ac80807c4e
commit
908fca70ab
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue