Zigbee better support for WSDCGQ01LM variants

This commit is contained in:
Stephan Hadinger 2020-09-05 16:33:53 +02:00
parent 2280143711
commit 2a18de5942
1 changed files with 1 additions and 0 deletions

View File

@ -1280,6 +1280,7 @@ void ZCLFrame::syntheticAqaraSensor(Z_attribute_list &attr_list, class Z_attribu
} else if ((nullptr != modelId) && (0 == getManufCode())) {
translated = true;
if (modelId.startsWith(F("lumi.sensor_ht")) ||
modelId.equals(F("lumi.sens")) ||
modelId.startsWith(F("lumi.weather"))) { // Temp sensor
// Filter according to prefix of model name
// onla Aqara Temp/Humidity has manuf_code of zero. If non-zero we skip the parameters