diff --git a/Ladestation_v2/module.php b/Ladestation_v2/module.php index 8e699e6..c3f2e27 100644 --- a/Ladestation_v2/module.php +++ b/Ladestation_v2/module.php @@ -736,8 +736,8 @@ class Ladestation_v2 extends IPSModule if($counter>(90/($this->ReadPropertyInteger("Interval")))){ $this->SetValue("Pending_Counter", 0); - if(max(json_decode($this->GetValue("PowerSteps")))==$this->GetVaue($power)){ - $this->Calc_Max_Current($this->GetValue("Is_1_ph")); + if(max(json_decode($this->GetValue("PowerSteps")))==$this->GetVaue("Power")){ + $this->Calc_Max_Current($this->GetValue("Is_1_ph")); } }