From 0da2a8d33a83e5acb7730bbb2f2ec48751c88709 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=A4fliger?= Date: Fri, 19 Sep 2025 16:08:04 +0200 Subject: [PATCH] no message --- Ladestation_v2/module.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Ladestation_v2/module.php b/Ladestation_v2/module.php index 167cb1e..328cc12 100644 --- a/Ladestation_v2/module.php +++ b/Ladestation_v2/module.php @@ -563,13 +563,15 @@ class Ladestation_v2 extends IPSModule // Timer an if ($power === 0) { // power == 0: nur eine 0 zurückgeben - + $resultArray[] = 0; + return $resultArray; + + }else{ if ($is_1_ph) { $resultArray[] = $this->GetValue("Mindestaldestrom") * 230; } else { $resultArray[] = $this->GetValue("Mindestaldestrom") * 400 * 1.71; } - return $resultArray; }