no message

This commit is contained in:
2025-04-08 10:13:40 +02:00
parent 891dfbd914
commit da4f69c5d0

View File

@@ -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");