syntaxfehler

This commit is contained in:
dh
2025-03-14 10:22:12 +01:00
parent 3224518861
commit 2de1688b08
+3 -3
View File
@@ -86,9 +86,9 @@ class Batterie extends IPSModule
$closestValue - $stepSizeSmall, $closestValue - $stepSizeSmall,
$closestValue, $closestValue,
$closestValue + $stepSizeSmall, $closestValue + $stepSizeSmall,
$closestValue + 2 * $stepSizeSmall $closestValue + 2 * $stepSizeSmall,
$closestValue + 3 * $stepSizeSmall $closestValue + 3 * $stepSizeSmall,
$closestValue + 4 * $stepSizeSmall $closestValue + 4 * $stepSizeSmall,
$closestValue + 5 * $stepSizeSmall $closestValue + 5 * $stepSizeSmall
], function ($value) use ($maxleistung) { ], function ($value) use ($maxleistung) {
return $value >= -$maxleistung && $value <= $maxleistung; return $value >= -$maxleistung && $value <= $maxleistung;