Don't poll on attribute for Xiaomi routers (rely on reports)
@@ -234,10 +234,13 @@ void PollManager::pollTimerFired()
}
if (suffix == RStateOn)
+ {
+ if (lightNode && lightNode->manufacturerCode() != VENDOR_115F) // reports
{
clusterId = ONOFF_CLUSTER_ID;
attributes.push_back(0x0000); // onOff
}
+ }
else if (suffix == RStateBri && isOn)
{
NodeValue &val = restNode->getZclValue(LEVEL_CLUSTER_ID, 0x0000);
