no message
This commit is contained in:
@@ -24,7 +24,7 @@ class Ladestation_v2 extends IPSModule
|
||||
$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("Car_is_full", "Auto fertig geladen", "~Switch", false);
|
||||
$this->RegisterVariableBoolean("Ladebereit", "Ladestation ein", "~Switch", true);
|
||||
$this->EnableAction("Ladebereit");
|
||||
$this->RegisterVariableBoolean("Solarladen", "Solarladen ein", "~Switch", false);
|
||||
@@ -117,6 +117,12 @@ class Ladestation_v2 extends IPSModule
|
||||
|
||||
}
|
||||
break;
|
||||
case "Solarladen":
|
||||
$this->SetValue("Solarladen", (bool)$Value);
|
||||
break;
|
||||
case "Ladebereit":
|
||||
$this->SetValue("Ladebereit", (bool)$Value);
|
||||
break;
|
||||
|
||||
default:
|
||||
throw new Exception("Invalid Ident");
|
||||
|
||||
Reference in New Issue
Block a user