no message

This commit is contained in:
2025-04-08 07:05:57 +02:00
parent 346f65aa4b
commit e9dc9c1615
2 changed files with 2 additions and 2 deletions

View File

@@ -328,7 +328,7 @@ class Ladestation_v2 extends IPSModule
if (!$ladebereit) {
$powerSteps = [0];
} elseif (!$Peak && !$solarladen) {
$powerSteps = [max($this->Get_Array_From_Current($this->GetValue("Is_1_ph"),$this->GetValue("Max_Current")))];
$powerSteps = [max(0,$this->Get_Array_From_Current($this->GetValue("Is_1_ph"),$this->GetValue("Max_Current")))];
} elseif (!$Peak && $solarladen) {
$powerSteps = $this->Get_Array_From_Current($this->GetValue("Is_1_ph"),$this->GetValue("Max_Current"));
} elseif ($solarladen && $Peak) {

View File

@@ -250,9 +250,9 @@ class Manager_v2 extends IPSModule
"step" => -1*$step
];}
}
}
}
}
// Sortiere die Schritte nach Größe
usort($allSteps, function ($a, $b) {