diff --git a/Ladestation_v2/module.php b/Ladestation_v2/module.php index 5078f95..50c2235 100644 --- a/Ladestation_v2/module.php +++ b/Ladestation_v2/module.php @@ -18,10 +18,11 @@ class Ladestation_v2 extends IPSModule // Ladestationspezifische Variabeln - $this->RegisterVariableFloat("Max_Current","Maximaler Ladestrom","", 0); - $this->RegisterVariableBoolean("Is_1_ph", "Auto lädt 1-Phasig", "", false); - $this->RegisterVariableBoolean("Car_detected", "Auto erkannt","", false); + $this->RegisterVariableFloat("Max_Current","Maximaler Ladestrom","~Switch", 0); + $this->RegisterVariableBoolean("Is_1_ph", "Auto lädt 1-Phasig", "~Switch", false); + $this->RegisterVariableBoolean("Car_detected", "Auto erkannt","~Switch", false); $this->RegisterVariableInteger("Pending_Counter", "Pending_Counter", "", 0); + IPS_SetHidden($this->GetIDForIdent("Pending_Counter"), true); $this->RegisterVariableBoolean("Car_is_full", "Auto fertig geladen", "", false); $this->RegisterVariableBoolean("Ladebereit", "Ladestation ein", "~Switch", true); $this->EnableAction("Ladebereit");