diff --git a/Batterie/module.php b/Batterie/module.php index 80b059f..7beaec1 100644 --- a/Batterie/module.php +++ b/Batterie/module.php @@ -121,7 +121,7 @@ class Batterie extends IPSModule -private function GeneratePowerSteps($additionalValue) +private function GeneratePowerSteps() { $maxleistung_raw = GetValue($this->ReadPropertyInteger("MaxBatterieleistung")); @@ -363,7 +363,7 @@ public function RequestAction($Ident, $Value) { IPS_LogMessage("Batterie", "Currentdata"); - $array_powersteps = $this->GeneratePowerSteps($this->GetValue("Aktuelle_Leistung")); + $array_powersteps = $this->GeneratePowerSteps(); $aufdasnachladen = $this->ReadPropertyInteger("AufdasNachladen"); $minimumentladen = $this->ReadPropertyInteger("MinimumEntladen"); $maxleistung = GetValue($this->ReadPropertyInteger("MaxBatterieleistung"));