diff --git a/Batterie_Deye/module.php b/Batterie_Deye/module.php index 3be0581..6407af7 100644 --- a/Batterie_Deye/module.php +++ b/Batterie_Deye/module.php @@ -22,8 +22,8 @@ class Batterie_Deye extends IPSModule // Variabeln für Kommunkation mit Manager $this->RegisterVariableInteger("Batteriemanagement_Variabel","Batteriemanagement_Variabel", "",0); - $this->RegisterVariableFloat("Ladestrom","Ladestrom", "",0); - $this->RegisterVariableFloat("Entladestrom","Entladestrom", "",0); + $this->RegisterVariableInteger("Ladestrom","Ladestrom", "",0); + $this->RegisterVariableInteger("Entladestrom","Entladestrom", "",0); $this->RegisterVariableFloat("Batteriespannung_laden_entladen",0); $this->RegisterVariableInteger("Aktuelle_Leistung", "Aktuelle_Leistung", "", 0);