mirror of https://github.com/arendst/Tasmota.git
apply IKEA tradfri quick to symfonisk too
This commit is contained in:
parent
f5b73bdf9c
commit
c52f130afb
|
@ -1311,8 +1311,9 @@ void ZCLFrame::computeSyntheticAttributes(Z_attribute_list& attr_list) {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 0x00010021: // BatteryPercentage
|
case 0x00010021: // BatteryPercentage
|
||||||
if (modelId.startsWith(F("TRADFRI"))) {
|
if (modelId.startsWith(F("TRADFRI")) ||
|
||||||
attr.setUInt(attr.getUInt() * 2); // bug in TRADFRI battery, need to double the value
|
modelId.startsWith(F("SYMFONISK"))) {
|
||||||
|
attr.setUInt(attr.getUInt() * 2); // bug in IKEA remotes battery, need to double the value
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 0x00060000: // "Power" for lumi Door/Window is converted to "Contact"
|
case 0x00060000: // "Power" for lumi Door/Window is converted to "Contact"
|
||||||
|
|
Loading…
Reference in New Issue