From eaf78444f420ea8afdefe6112c17a82958ae80de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=A4fliger?= Date: Fri, 2 May 2025 13:53:17 +0200 Subject: [PATCH] no message --- HauptManager/module.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/HauptManager/module.php b/HauptManager/module.php index f76db48..cb88cc3 100644 --- a/HauptManager/module.php +++ b/HauptManager/module.php @@ -278,9 +278,10 @@ class HauptManager extends IPSModule }); IPS_LogMessage("Aktuelle LEistung vor foreahc", print_r($aktleistung)); - foreach($aktleistung as $entry){ - $aktleistung = $entry; - } + //foreach($aktleistung as $entry){ + // $aktleistung = $entry; + // } + IPS_LogMessage("Aktuelle LEistung Mnaagear", print_r($aktleistung)); // Überprüfe, ob noch genügend verbleibende Energie für den nächsten Schritt vorhanden ist if ($remainingPower >= $powerstep - $aktleistung['Set_Leistung']) {