Merge pull request #9117 from s-hadinger/zigbee_aqara_specific

Keep non-handled `0012/0055` Aqara events
This commit is contained in:
Theo Arends 2020-08-18 09:18:20 +02:00 committed by GitHub
commit 37d4bef412
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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