diff --git a/Ladestation_Universal/module.php b/Ladestation_Universal/module.php index fc94f70..30a8510 100644 --- a/Ladestation_Universal/module.php +++ b/Ladestation_Universal/module.php @@ -344,12 +344,7 @@ class Ladestation_Universal extends IPSModule IPS_LogMessage("Lades", "Hier4"); - if($this->GetValue("Power_Count")>$timeout){ - $maxLeistung = 1.05 * $this->GetValue("Ladeleistung_Effektiv"); - IPS_LogMessage("Lades", "Hier5"); - - } // Array für die Powersteps initialisieren @@ -373,7 +368,12 @@ class Ladestation_Universal extends IPSModule } elseif ($solarladen && $Peak) { $powerSteps = [0]; } else { + if($this->GetValue("Power_Count")>$timeout){ + $maxLeistung = 1.05 * $this->GetValue("Ladeleistung_Effektiv"); + IPS_LogMessage("Lades", "Hier5"); + + } $powerSteps += $this->getRangeLimits( $minLeistung, diff --git a/library.json b/library.json index ca9bc22..57df96f 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "1.225", + "version": "1.226", "build": 0, "date": 0 } \ No newline at end of file