diff --git a/Batterie/module.php b/Batterie/module.php index ada48f3..aa87b7b 100644 --- a/Batterie/module.php +++ b/Batterie/module.php @@ -123,9 +123,7 @@ class Batterie extends IPSModule private function GeneratePowerSteps($additionalValue) { - IPS_LogMessage("Batterie", "RAW Max=" . $maxleistung_raw . " RAW Nach=" . $nachladen_raw . " additional=" . $additionalValue); - IPS_LogMessage("Batterie", "Rounded Max=" . $maxleistung . " Min=" . $minleistung); $maxleistung_raw = GetValue($this->ReadPropertyInteger("MaxBatterieleistung")); $nachladen_raw = GetValue($this->ReadPropertyInteger("MaxNachladen")); @@ -189,6 +187,10 @@ private function GeneratePowerSteps($additionalValue) $array_powersteps = array_values(array_unique($array_powersteps)); sort($array_powersteps, SORT_NUMERIC); + IPS_LogMessage("Batterie", "RAW Max=" . $maxleistung_raw . " RAW Nach=" . $nachladen_raw . " additional=" . $additionalValue); + + IPS_LogMessage("Batterie", "Rounded Max=" . $maxleistung . " Min=" . $minleistung); + return $array_powersteps; } // Ende Array Steps