diff --git a/Batterie/module.php b/Batterie/module.php index a404ae9..fc87e08 100644 --- a/Batterie/module.php +++ b/Batterie/module.php @@ -86,9 +86,9 @@ class Batterie extends IPSModule $closestValue - $stepSizeSmall, $closestValue, $closestValue + $stepSizeSmall, - $closestValue + 2 * $stepSizeSmall - $closestValue + 3 * $stepSizeSmall - $closestValue + 4 * $stepSizeSmall + $closestValue + 2 * $stepSizeSmall, + $closestValue + 3 * $stepSizeSmall, + $closestValue + 4 * $stepSizeSmall, $closestValue + 5 * $stepSizeSmall ], function ($value) use ($maxleistung) { return $value >= -$maxleistung && $value <= $maxleistung;