diff --git a/Batterie/module.php b/Batterie/module.php index 0ac3381..42ef43a 100644 --- a/Batterie/module.php +++ b/Batterie/module.php @@ -29,8 +29,8 @@ class Batterie extends IPSModule $this->RegisterVariableFloat("Bezogene_Energie", "Bezogene_Energie", "", 0); - $this->RegisterVariableFloat("AktuelleLadeleistung", "Aktuelle Ladeleistung", "", 0); - $this->RegisterVariableFloat("AktuelleEntladeleistung", "Aktuelle Entladeleistung", "", 0); + $this->RegisterVariableInteger("AktuelleLadeleistung", "Aktuelle Ladeleistung", "", 0); + $this->RegisterVariableInteger("AktuelleEntladeleistung", "Aktuelle Entladeleistung", "", 0); // Hilfsvariabeln für Idle zustand $this->RegisterPropertyInteger("IdleCounterMax", 2); $this->RegisterVariableInteger("IdleCounter", "IdleCounter", "", 0); diff --git a/library.json b/library.json index e6db524..7aa7015 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "1.049", + "version": "1.050", "build": 0, "date": 0 } \ No newline at end of file