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