diff --git a/Batterie/module.php b/Batterie/module.php index e3a3cda..37cfb49 100644 --- a/Batterie/module.php +++ b/Batterie/module.php @@ -75,8 +75,8 @@ class Batterie extends IPSModule $batterieladezustand = $this->ReadPropertyInteger("Batterieladezustand"); // Als Property gelesen $maxleistung = $this->ReadPropertyInteger("MaxBatterieleistung"); // Als Property gelesen $spannung = $this->ReadPropertyInteger("Batteriespannung"); // Spannung ebenfalls als Property - $ladestrom = $this->ReadPropertyInteger("Ladestrom"); - $entladestrom = $this->ReadPropertyInteger("Entladestrom"); + $ladestrom = GetValue($this->GetIDForIdent("Ladestrom")); + $entladestrom = GetValue($this->GetIDForIdent("Entladestrom")); IPS_LogMessage("Batterie", "power: " . $power); diff --git a/library.json b/library.json index b783015..7622eb3 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "0.279", + "version": "0.280", "build": 0, "date": 0