diff --git a/Ladestation_v2/module.php b/Ladestation_v2/module.php index f37b032..c036b08 100644 --- a/Ladestation_v2/module.php +++ b/Ladestation_v2/module.php @@ -187,7 +187,6 @@ class Ladestation_v2 extends IPSModule } - }else{ $this->SetValue("Car_detected", false); $this->sendPowerToStation(32); @@ -269,7 +268,7 @@ class Ladestation_v2 extends IPSModule else{ $this->SetValue("Car_detected", false); }*/ - if ($data["car"] != 1) { + if ($data["State"] != 1) { $car_on_station = true; } else{