From 5e34878ba4c70cded93b0f78aebac76778066edd Mon Sep 17 00:00:00 2001 From: "belevo\\mh" Date: Thu, 21 May 2026 09:33:40 +0200 Subject: [PATCH] no message --- Heizung_x_Stufig/module.php | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/Heizung_x_Stufig/module.php b/Heizung_x_Stufig/module.php index 52458b8..3e49a5b 100644 --- a/Heizung_x_Stufig/module.php +++ b/Heizung_x_Stufig/module.php @@ -169,13 +169,6 @@ class Heizung_x_Stufig extends IPSModule $heizungPT1 = 0.0; } - if ($this->GetValue("Disable") == false){ - $dummy_array[] = 0; - return $this->SetValue("PowerSteps", json_encode($dummy_array)); - } - - - if ($heizungstemperaturGlaetten) { $heizungTempAlt = $this->GetValue("Heizungstemperatur"); @@ -190,6 +183,15 @@ class Heizung_x_Stufig extends IPSModule $this->SetValue("Heizungstemperatur", $heizungPT1); } + if ($this->GetValue("Disable") == false){ + $dummy_array[] = 0; + return $this->SetValue("PowerSteps", json_encode($dummy_array)); + } + + + + + $heizungTemp = $this->GetValue("Heizungstemperatur"); $minTemp = $this->GetValue("Mindesttemperatur"); $maxTemp = $this->GetValue("Maximaltemperatur");