diff --git a/Ladestation_v2/module.php b/Ladestation_v2/module.php index b6f1de4..42386b7 100644 --- a/Ladestation_v2/module.php +++ b/Ladestation_v2/module.php @@ -156,12 +156,17 @@ class Ladestation_v2 extends IPSModule $this->SetValue("Car_detected", true); if($this->GetValue("Max_Current")<6){ $this->SetValue("Car_is_full", true); + } }else{ $this->SetValue("Car_detected", false); $this->SetValue("Car_is_full", false); - + $this->SetValue("IsTimerActive", false); + $this->SetValue("Is_1_ph", false); + $this->SetValue("Aktuelle_Leistung", 0); + $this->SetValue("IdleCounter", 0); + $this->SetValue("Idle", true); } } else{