Fix Xiaomi special attribute reports (0xFF01) for some devices
Not all Xiaomi sensors use manufacturer code in ZCL reports.
Issue
@@ -7045,7 +7045,7 @@ void DeRestPluginPrivate::handleZclAttributeReportIndication(const deCONZ::ApsDa
}
}
- if (zclFrame.manufacturerCode() == 0x115f && ind.clusterId() == BASIC_CLUSTER_ID)
+ if (zclFrame.isProfileWideCommand() && ind.clusterId() == BASIC_CLUSTER_ID)
{
handleZclAttributeReportIndicationXiaomiSpecial(ind, zclFrame);
}
