From ac82840bd165b017d0466c75c8f11dc685a4ddae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=A4fliger?= Date: Fri, 7 Mar 2025 16:50:28 +0100 Subject: [PATCH] no message --- Batterie/module.php | 4 ++-- library.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Batterie/module.php b/Batterie/module.php index 680421c..39b7cb7 100644 --- a/Batterie/module.php +++ b/Batterie/module.php @@ -185,12 +185,12 @@ public function RequestAction($Ident, $Value) if($Peak){ IPS_LogMessage("Batterie", "Im if teil"); - if($batterieladezustand>$aufdasnachladen && $hyst==true){ + if($batterieladezustand>$aufdasnachladen && $hyst==false){ $dummy_array[] = $netzbezug; $this->SetValue("PowerSteps", json_encode($dummy_array)); - }elseif($batterieladezustand>$aufdasnachladen && $hyst==false){ + }elseif($batterieladezustand>$aufdasnachladen && $hyst==true){ $filtered_powersteps = array_filter($array_powersteps, function ($value) { diff --git a/library.json b/library.json index bbaa5ce..0d7df51 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "1.166", + "version": "1.167", "build": 0, "date": 0 } \ No newline at end of file