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']) {