From 5048f1f109fd277aa43716d2abd8febd461b0e7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=A4fliger?= Date: Tue, 4 Mar 2025 16:15:07 +0100 Subject: [PATCH] =?UTF-8?q?eintrag=20ge=C3=A4ndert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HauptManager/module.php | 4 +++- library.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/HauptManager/module.php b/HauptManager/module.php index 1ff33d6..affc038 100644 --- a/HauptManager/module.php +++ b/HauptManager/module.php @@ -261,7 +261,9 @@ class HauptManager extends IPSModule }); IPS_LogMessage("hauptm", print_r($aktleistung)); - + foreach($aktleistung as $entry){ + $aktleistung = $entry; + } // Überprüfe, ob noch genügend verbleibende Energie für den nächsten Schritt vorhanden ist if ($remainingPower >= $powerstep - $aktleistung['Set_Leistung']) { diff --git a/library.json b/library.json index 5812650..8f7d91f 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "1.206", + "version": "1.207", "build": 0, "date": 0 } \ No newline at end of file