From bf7f76b4c41a911562c7264d3115606450fa1ad5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=A4fliger?= Date: Fri, 7 Mar 2025 16:17:57 +0100 Subject: [PATCH] no message --- Batterie/module.php | 2 +- library.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Batterie/module.php b/Batterie/module.php index a6d5179..d6fef68 100644 --- a/Batterie/module.php +++ b/Batterie/module.php @@ -234,7 +234,7 @@ public function RequestAction($Ident, $Value) }elseif($batterieladezustand>=$aufdasnachladen && $hyst==true){ $filtered_powersteps = array_filter($array_powersteps, function ($value) { - return $value <= 0; + return $value >= 0; }); $filtered_powersteps_laden = array_values($filtered_powersteps); $this->SetValue("PowerSteps", json_encode($filtered_powersteps_laden)); diff --git a/library.json b/library.json index 3b9938f..fd14940 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "1.161", + "version": "1.162", "build": 0, "date": 0 } \ No newline at end of file