From 58ea9aa88ec49d7d1669cbf9b7d296b119d6f278 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=A4fliger?= Date: Fri, 7 Mar 2025 14:54:46 +0100 Subject: [PATCH] =?UTF-8?q?get=20val=C3=B6ie=20eingef=C3=BChjgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 244264e..b765409 100644 --- a/Batterie/module.php +++ b/Batterie/module.php @@ -160,7 +160,7 @@ public function RequestAction($Ident, $Value) $minimumentladen = $this->ReadPropertyInteger("MinimumEntladen"); $maxleistung = $this->ReadPropertyInteger("MaxBatterieleistung"); $dummy_array = []; - $batterieladezustand = $this->ReadPropertyInteger("Batterieladezustand"); + $batterieladezustand = GetValue($this->ReadPropertyInteger("Batterieladezustand")); if ($this->ReadPropertyInteger("Batteriemanagement") == 1) { $dummy_array[] = 0; diff --git a/library.json b/library.json index 04a090c..66eeab7 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "1.251", + "version": "1.252", "build": 0, "date": 0 } \ No newline at end of file