From aa2187dff5beec88238c3c8d0cc9c45f9a1ac83c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=A4fliger?= Date: Fri, 7 Mar 2025 14:16:26 +0100 Subject: [PATCH] =?UTF-8?q?fl=C3=BCchtigkeitsfehler?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Manager/module.php | 5 +++-- library.json | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Manager/module.php b/Manager/module.php index a02027c..8bca112 100644 --- a/Manager/module.php +++ b/Manager/module.php @@ -226,8 +226,9 @@ class Manager extends IPSModule $userEnergyProv = []; $userEnergyProv = array_combine( array_column($samePriorityUsers, "InstanceID"), - array_map(fn($user) => min($user['powersteps']), $samePriorityUsers) - ); IPS_LogMessage("Manager", print_r($userEnergyProv)); + array_map(fn($user) => min($user['PowerSteps']), $samePriorityUsers) + ); + IPS_LogMessage("Manager", print_r($userEnergyProv)); // Alle Schritte der Benutzer in einem Array sammeln $allSteps = []; diff --git a/library.json b/library.json index f2a9cc5..c93be76 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "1.242", + "version": "1.243", "build": 0, "date": 0 } \ No newline at end of file