File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -6510,6 +6510,10 @@ void DeRestPluginPrivate::updateSensorNode(const deCONZ::NodeEvent &event)
65106510 {
65116511 consumption *= 10; // 0.01 kWh = 10 Wh -> Wh
65126512 }
6513+ else if (i->modelId() == QLatin1String("RICI01")) // LifeControl smart plug
6514+ {
6515+ // Already in Wh
6516+ }
65136517
65146518 if (item)
65156519 {
@@ -6641,7 +6645,11 @@ void DeRestPluginPrivate::updateSensorNode(const deCONZ::NodeEvent &event)
66416645 else if (i->modelId() == QLatin1String("SmartPlug")) // Heiman
66426646 {
66436647 current *= 10; // 0.01A -> mA
6644- }
6648+ }
6649+ else if (i->modelId() == QLatin1String("RICI01")) //LifeControl Smart Plug
6650+ {
6651+ // already in mA
6652+ }
66456653 else
66466654 {
66476655 current *= 1000; // A -> mA
You can’t perform that action at this time.
0 commit comments