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