no message

This commit is contained in:
2025-04-22 13:22:37 +02:00
parent f9c9fccedb
commit eebecf0ef3

View File

@@ -344,9 +344,7 @@ class Ladestation_v2 extends IPSModule
public function SetAktuelle_Leistung(int $power) public function SetAktuelle_Leistung(int $power)
{ {
if($power==0){
$this->SetValue("Pending_Counter", 0);
}
$internalPower = GetValue($this->GetIDForIdent("Aktuelle_Leistung")); $internalPower = GetValue($this->GetIDForIdent("Aktuelle_Leistung"));
// Aktuelle Leistungsvorgabe setzen // Aktuelle Leistungsvorgabe setzen
SetValue($this->GetIDForIdent("Aktuelle_Leistung"), $power); 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->SetValue("Pending_Counter", 0);
$this->Calc_Max_Current($this->GetValue("Is_1_ph")); $this->Calc_Max_Current($this->GetValue("Is_1_ph"));