diff --git a/Batterie/module.php b/Batterie/module.php index 4ceb9df..9278c46 100644 --- a/Batterie/module.php +++ b/Batterie/module.php @@ -96,8 +96,8 @@ public function RequestAction($Ident, $Value) $spannung = $this->ReadPropertyInteger("Batteriespannung"); - $ladestrom = $this->ReadVariableFloat("Ladestrom"); - $entladestrom = $this->ReadVariableFloat("Entladestrom"); + $ladestrom = $this->GetValue("Ladestrom"); + $entladestrom = $this->GetValue("Entladestrom"); if ($spannung <= 0) { IPS_LogMessage("Batterie", "Fehler: Batteriespannung ist 0 oder ungültig."); diff --git a/library.json b/library.json index cf82611..914ff9c 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "1.053", + "version": "1.054", "build": 0, "date": 0 } \ No newline at end of file