mirror of https://github.com/arendst/Tasmota.git
Zigbee support for lumi.sensor_wleak
This commit is contained in:
parent
2d84d846ed
commit
4ea1b4d7c9
|
@ -1739,6 +1739,10 @@ void ZCLFrame::syntheticAqaraSensor(Z_attribute_list &attr_list, class Z_attribu
|
||||||
if (0x64 == attrid) {
|
if (0x64 == attrid) {
|
||||||
attr_list.addAttributePMEM(PSTR("SmokeDensity")).copyVal(attr);
|
attr_list.addAttributePMEM(PSTR("SmokeDensity")).copyVal(attr);
|
||||||
}
|
}
|
||||||
|
} else if (modelId.startsWith(F("lumi.sensor_wleak"))) { // gas leak
|
||||||
|
if (0x64 == attrid) {
|
||||||
|
attr_list.addAttributePMEM(PSTR("Water")).copyVal(attr);
|
||||||
|
}
|
||||||
} else if (modelId.startsWith(F("lumi.sensor_natgas"))) { // gas leak
|
} else if (modelId.startsWith(F("lumi.sensor_natgas"))) { // gas leak
|
||||||
if (0x64 == attrid) {
|
if (0x64 == attrid) {
|
||||||
attr_list.addAttributePMEM(PSTR("GasDensity")).copyVal(attr);
|
attr_list.addAttributePMEM(PSTR("GasDensity")).copyVal(attr);
|
||||||
|
|
Loading…
Reference in New Issue