From 63dac35b64ad1c847df8c9568ac6de9ac063ea77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=A4fliger?= Date: Mon, 18 Nov 2024 14:45:54 +0100 Subject: [PATCH] neuer versuch --- Manager/module.php | 3 ++- library.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Manager/module.php b/Manager/module.php index ec1ef18..214fcae 100644 --- a/Manager/module.php +++ b/Manager/module.php @@ -160,7 +160,8 @@ class Manager extends IPSModule if (empty($samePriorityUsers)) { continue; } - + $withZero = []; + $withoutZero = []; // Verbraucher die nicht 0 Annhemen können, bekommen einfach den tiefsten wert foreach ($samePriorityUsers as $entry) { if (in_array(0, $entry['PowerSteps'])) { diff --git a/library.json b/library.json index 3503ddb..feb1b6d 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "0.150", + "version": "0.151", "build": 0, "date": 0 } \ No newline at end of file