From 1cbae2ce7de0478b4c3e13e95bbf4d7e3fca7d4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=A4fliger?= Date: Mon, 14 Apr 2025 13:45:41 +0200 Subject: [PATCH] no message --- Verbraucher_extern/module.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Verbraucher_extern/module.php b/Verbraucher_extern/module.php index c060551..81bc395 100644 --- a/Verbraucher_extern/module.php +++ b/Verbraucher_extern/module.php @@ -132,13 +132,7 @@ class Verbraucher_extern extends IPSModule $this->CheckIdle($power); $verbraucherListe = json_decode($this->ReadPropertyString("Verbraucher_Liste"), true); - $kombinationen = [];//$this->kombinationenRekursiv($verbraucherListe, $power); - - foreach ($verbraucherListe as $verbraucher) { - $writeVarID = $verbraucher['Write_Var']; - $pNenn = $verbraucher['P_Nenn']; - SetValue($writeVarID, 4); - } + $this->berechneInverseKombinationen(); $this->SetValue("Leistung_Delta", GetValue($this->ReadPropertyInteger("delta_power"))); }