no message

This commit is contained in:
2025-04-08 07:53:20 +02:00
parent 97472dc932
commit 6f110215cb

View File

@@ -299,11 +299,11 @@ class Ladestation_v2 extends IPSModule
$Ladebereit = GetValue($this->GetIDForIdent("Ladebereit"));
if (!$Ladebereit) {
$this->sendPowerToStation($this->GetValue("Is_1_ph"), 0);
$this->sendPowerToStation(0);
} elseif (!$peak && !$solarladen) {
// Wenn weder Peak noch Solarladen aktiv sind, setze Ladeleistung auf MaxLeistung
$this->sendPowerToStation($this->Get_Current_From_Power($this->GetValue("Is_1_ph"), $this->GetValue("Max_Current")));
$this->sendPowerToStation($this->Get_Current_From_Power($this->GetValue("Is_1_ph"), $power));
} else {
// Ansonsten setze Ladeleistung auf die aktuelle Leistungsvorgabe (Aktuelle_Leistung)