diff --git a/Ladestation_v2/module.php b/Ladestation_v2/module.php index 167cb1e..328cc12 100644 --- a/Ladestation_v2/module.php +++ b/Ladestation_v2/module.php @@ -563,13 +563,15 @@ class Ladestation_v2 extends IPSModule // Timer an if ($power === 0) { // power == 0: nur eine 0 zurückgeben - + $resultArray[] = 0; + return $resultArray; + + }else{ if ($is_1_ph) { $resultArray[] = $this->GetValue("Mindestaldestrom") * 230; } else { $resultArray[] = $this->GetValue("Mindestaldestrom") * 400 * 1.71; } - return $resultArray; }