Corrected Sengled PAR38 Bulbs consumption unit
@@ -7112,8 +7112,8 @@ void DeRestPluginPrivate::updateSensorNode(const deCONZ::NodeEvent &event)
if (i->modelId() == QLatin1String("SmartPlug") || // Heiman
i->modelId().startsWith(QLatin1String("PSMP5_")) || // Climax
- i->modelId().startsWith(QLatin1String("SKHMP30"))) // GS smart plug
- // Sengled PAR38 Bulbs
+ i->modelId().startsWith(QLatin1String("SKHMP30")) || // GS smart plug
+ i->modelId().startsWith(QLatin1String("E13-"))) // Sengled PAR38 Bulbs
{
consumption += 5; consumption /= 10; // 0.1 Wh -> Wh
}
@@ -7126,10 +7126,6 @@ void DeRestPluginPrivate::updateSensorNode(const deCONZ::NodeEvent &event)
{
consumption /= 1000;
}
- else if (i->modelId().startsWith(QLatin1String("E13-"))) // Sengled PAR38 Bulbs
- {
- consumption /= 10000;
- }
if (item)
{
