From 5859d4b243880db3f36e6346ebb399734e7c545a Mon Sep 17 00:00:00 2001 From: "belevo\\mh" Date: Tue, 21 Jan 2025 08:18:04 +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 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