From eebecf0ef35ad561bd2e5efde2f6d0302f2d869e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=A4fliger?= Date: Tue, 22 Apr 2025 13:22:37 +0200 Subject: [PATCH] no message --- Ladestation_v2/module.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Ladestation_v2/module.php b/Ladestation_v2/module.php index a71e8a1..513e744 100644 --- a/Ladestation_v2/module.php +++ b/Ladestation_v2/module.php @@ -344,9 +344,7 @@ class Ladestation_v2 extends IPSModule public function SetAktuelle_Leistung(int $power) { - if($power==0){ - $this->SetValue("Pending_Counter", 0); - } + $internalPower = GetValue($this->GetIDForIdent("Aktuelle_Leistung")); // Aktuelle Leistungsvorgabe setzen SetValue($this->GetIDForIdent("Aktuelle_Leistung"), $power); @@ -438,7 +436,7 @@ class Ladestation_v2 extends IPSModule } - if($counter>(25/($this->ReadPropertyInteger("Interval")))){ + if($counter>(40/($this->ReadPropertyInteger("Interval")))){ $this->SetValue("Pending_Counter", 0); $this->Calc_Max_Current($this->GetValue("Is_1_ph"));