no message

This commit is contained in:
mh
2026-05-13 14:59:49 +02:00
parent 64ddebd851
commit 4c7606d871
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -85,7 +85,7 @@
{ {
"type": "SelectVariable", "type": "SelectVariable",
"name": "Heizungsfuehler", "name": "Heizungsfuehler",
"caption": "Variable für Heizungsfühler PT1", "caption": "Variable für Heizungsfühler",
"test": true "test": true
} }
] ]
+8
View File
@@ -153,10 +153,18 @@ class Heizung_x_Stufig extends IPSModule
{ {
$this->LadeUndSortiereLeistungen(); $this->LadeUndSortiereLeistungen();
/*
if ($this->GetValue("Disable") == false) { if ($this->GetValue("Disable") == false) {
$this->SetValue("PowerSteps", json_encode([0])); $this->SetValue("PowerSteps", json_encode([0]));
$this->SetAktuelle_Leistung(0); $this->SetAktuelle_Leistung(0);
return; return;
}*/
if ($this->GetValue("Disable") == false){
$dummy_array[] = 0;
return $this->SetValue("PowerSteps", json_encode($dummy_array));
} }
$heizungstemperaturGlaetten = $this->ReadPropertyBoolean("Heizungstemperatur_glätten"); $heizungstemperaturGlaetten = $this->ReadPropertyBoolean("Heizungstemperatur_glätten");