diff --git a/Batterie/module.php b/Batterie/module.php index c0ac57a..46bad69 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 = GetValue($this->GetIDForIdent("Batterieladezustand")); - //$batterieladezustand = $this->ReadPropertyInteger("Batterieladezustand"); // Als Property gelesen + + $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 b9fb198..682c777 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "0.231", + "version": "0.232", "build": 0, "date": 0