From 865375fdd326dd7ed5a6851d6a8a4513a9565cd6 Mon Sep 17 00:00:00 2001 From: "belevo\\mh" Date: Tue, 24 Dec 2024 08:18:53 +0100 Subject: [PATCH] -- --- 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 46bad69..ee3d862 100644 --- a/Batterie/module.php +++ b/Batterie/module.php @@ -124,8 +124,8 @@ class Batterie extends IPSModule $array_powersteps = $this->GeneratePowerSteps(); $aufdasnachladen = $this->ReadPropertyInteger("AufdasNachladen"); $minimumentladen = $this->ReadPropertyInteger("MinimumEntladen"); - - $batterieladezustand = $this->ReadPropertyInteger("Batterieladezustand"); // Als Property gelesen + $batterieladezustand = GetValue($this->ReadPropertyInteger("Batterieladezustand")); + //$batterieladezustand = $this->ReadPropertyInteger("Batterieladezustand"); // Als Property gelesen $maxleistung = $this->ReadPropertyInteger("MaxBatterieleistung"); // Als Property gelesen IPS_LogMessage("Batterie", "Batterieladezustand: ".$batterieladezustand); IPS_LogMessage("Batterie", "AufdasNachladen: ".$aufdasnachladen); diff --git a/library.json b/library.json index 682c777..4f2494e 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "0.232", + "version": "0.233", "build": 0, "date": 0