no message

This commit is contained in:
2025-04-08 07:03:58 +02:00
parent 352a5c5693
commit 346f65aa4b

View File

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