Flüchtigkeitsfehler behoben

This commit is contained in:
2025-03-05 07:10:12 +01:00
parent adc5018da4
commit b18fd1d61f
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ class HauptManager extends IPSModule
$this->RegisterPropertyInteger("Netzbezug", 0); // Initialisierung mit 0
$this->RegisterPropertyString("Verbraucher_Liste", "[]");
$this->RegisterVariableInteger("Gesamtnetzbezug", 0);
$this->RegisterVariableInteger("Gesamtnetzbezug", "Gesamtnetzbezug", "", 0);
// Timer registrieren
$this->RegisterTimer("Timer_DistributeEnergy",5000,"IPS_RequestAction(" .$this->InstanceID .', "DistributeEnergy", "");');
+2 -2
View File
@@ -336,11 +336,11 @@ class Manager extends IPSModule
$answerArray = json_decode(GetValue($this->ReadPropertyInteger("DatenZuruck")), true);
foreach($answerArray["User"] as $user){}
foreach($answerArray["User"] as $user){
IPS_RequestAction($user["InstanceID"],"SetAktuelle_Leistung",$user["Set_Leistung"]);
IPS_RequestAction($user["InstanceID"],"GetCurrentData", $answerArray["Is_Peak_Shaving"]);
}
+1 -1
View File
@@ -6,7 +6,7 @@
"compatibility": {
"version": "7.1"
},
"version": "1.225",
"version": "1.226",
"build": 0,
"date": 0
}