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