From 86080f952c2e60cf760cd57e606856a28f486659 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=A4fliger?= Date: Fri, 7 Mar 2025 16:15:42 +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 17453a5..a6d5179 100644 --- a/Batterie/module.php +++ b/Batterie/module.php @@ -225,13 +225,13 @@ public function RequestAction($Ident, $Value) $filtered_powersteps_laden = array_values($filtered_powersteps); $this->SetValue("PowerSteps", json_encode($filtered_powersteps_laden)); - }elseif($batterieladezustand>=$aufdasnachladen && $hyst==true){ + }elseif($batterieladezustand>=$aufdasnachladen && $hyst==false){ $this->SetValue("PowerSteps", json_encode($array_powersteps)); IPS_LogMessage("Batterie", "im 2"); - }elseif($batterieladezustand>=$aufdasnachladen && $hyst==false){ + }elseif($batterieladezustand>=$aufdasnachladen && $hyst==true){ $filtered_powersteps = array_filter($array_powersteps, function ($value) { return $value <= 0; diff --git a/library.json b/library.json index cef72f2..3b9938f 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "1.160", + "version": "1.161", "build": 0, "date": 0 } \ No newline at end of file