diff --git a/Ladestation_v2/module.php b/Ladestation_v2/module.php index 0f5c60c..75d3770 100644 --- a/Ladestation_v2/module.php +++ b/Ladestation_v2/module.php @@ -738,7 +738,7 @@ class Ladestation_v2 extends IPSModule $this->SetValue("Pending_Counter", 0); - if((max(json_decode($this->GetValue("PowerSteps")))==$this->GetValue("Aktuelle_Power"))&&(max(json_decode($this->GetValue("PowerSteps"))>0))){ + if((max(json_decode($this->GetValue("PowerSteps")))==$this->GetValue("Power"))&&(max(json_decode($this->GetValue("PowerSteps"))>0))){ $this->Calc_Max_Current($this->GetValue("Is_1_ph")); }