Corrected eval statements
@@ -4340,7 +4340,7 @@ void DeRestPluginPrivate::addSensorNode(const deCONZ::Node *node, const deCONZ::
case METERING_CLUSTER_ID:
{
- if(!modelId == QLatin1String("lumi.plug.mmeu01"))
+ if(modelId != QLatin1String("lumi.plug.mmeu01"))
{
fpConsumptionSensor.inClusters.push_back(ci->id());
}
@@ -4349,7 +4349,7 @@ void DeRestPluginPrivate::addSensorNode(const deCONZ::Node *node, const deCONZ::
case ELECTRICAL_MEASUREMENT_CLUSTER_ID:
{
- if(!modelId == QLatin1String("lumi.plug.mmeu01"))
+ if(modelId != QLatin1String("lumi.plug.mmeu01"))
{
fpPowerSensor.inClusters.push_back(ci->id());
}
