diff --git a/Ladestation_v2/module.php b/Ladestation_v2/module.php index e97fbb2..f88d14e 100644 --- a/Ladestation_v2/module.php +++ b/Ladestation_v2/module.php @@ -746,11 +746,11 @@ class Ladestation_v2 extends IPSModule - IPS_LogMessage("Vergleich3", "nach Vergleich3" . $this->GetVaue("Power")); + IPS_LogMessage("Vergleich3", "nach Vergleich3" . $this->GetVaue("Aktuelle_Leistung")); - if((max(json_decode($this->GetValue("PowerSteps")))==$this->GetVaue("Power"))&&(max(json_decode($this->GetValue("PowerSteps"))>0))){ + if((max(json_decode($this->GetValue("PowerSteps")))==$this->GetVaue("Aktuelle_Leistung"))&&(max(json_decode($this->GetValue("PowerSteps"))>0))){ $this->Calc_Max_Current($this->GetValue("Is_1_ph")); }