Correct switch configuration code for Opple/WRS-R02
@@ -694,10 +694,6 @@ void DeRestPluginPrivate::handleZclAttributeReportIndicationXiaomiSpecial(const
item = r->item(RAttrModelId);
- if (item && item->toString().endsWith(QLatin1String("86opcn01")))
- {
- auto *item2 = r->item(RConfigPending);
-
if (item && (item->toString().endsWith(QLatin1String("86opcn01")) || item->toString() == QLatin1String("lumi.remote.b28ac1")))
{
auto *item2 = r->item(RConfigPending);
@@ -719,7 +715,6 @@ void DeRestPluginPrivate::handleZclAttributeReportIndicationXiaomiSpecial(const
item2->setValue(item2->toNumber() & ~R_PENDING_MODE);
}
}
- }
if (dateCode.isEmpty() && restNodePending)
{
