Prevent lumi.plug.mmeu01 creating wrong sensors in rare cases
@@ -4339,15 +4339,21 @@ void DeRestPluginPrivate::addSensorNode(const deCONZ::Node *node, const deCONZ::
break;
case METERING_CLUSTER_ID:
+ {
+ if(!modelId == QLatin1String("lumi.plug.mmeu01"))
{
fpConsumptionSensor.inClusters.push_back(ci->id());
}
+ }
break;
case ELECTRICAL_MEASUREMENT_CLUSTER_ID:
+ {
+ if(!modelId == QLatin1String("lumi.plug.mmeu01"))
{
fpPowerSensor.inClusters.push_back(ci->id());
}
+ }
break;
case THERMOSTAT_CLUSTER_ID:
