mirror of https://github.com/arendst/Tasmota.git
Merge pull request #9117 from s-hadinger/zigbee_aqara_specific
Keep non-handled `0012/0055` Aqara events
This commit is contained in:
commit
37d4bef412
|
@ -1342,6 +1342,7 @@ int32_t Z_AqaraCubeFunc(const class ZCLFrame *zcl, uint16_t shortaddr, JsonObjec
|
||||||
json[aqara_cube_side] = val - 512;
|
json[aqara_cube_side] = val - 512;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Source: https://github.com/kirovilya/ioBroker.zigbee
|
// 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 + 256 = push/slide cube while side x is on top
|
||||||
// presentValue = x + 512 = double tap 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
|
// Aqara Vibration Sensor - special proprietary attributes
|
||||||
|
|
Loading…
Reference in New Issue