Fix for value convertion
@@ -6510,10 +6510,6 @@ void DeRestPluginPrivate::updateSensorNode(const deCONZ::NodeEvent &event)
{
consumption *= 10; // 0.01 kWh = 10 Wh -> Wh
}
- else if (i->modelId() == QLatin1String("RICI01")) // LifeControl smart plug
- {
- consumption /= 1000; // 0.001 Wh -> Wh
- }
if (item)
{
@@ -6646,10 +6642,6 @@ void DeRestPluginPrivate::updateSensorNode(const deCONZ::NodeEvent &event)
{
current *= 10; // 0.01A -> mA
}
- else if (i->modelId() == QLatin1String("RICI01")) //LifeControl Smart Plug
- {
- current /= 1000; // uA -> mA
- }
else
{
current *= 1000; // A -> mA
