no message

This commit is contained in:
2026-05-18 12:54:40 +02:00
parent 584009aee6
commit 9a91758c58
+4 -2
View File
@@ -1102,10 +1102,12 @@ class Bat_EV_SDL_V4 extends IPSModule
// SDL muss bei 50% sein
$sdlPct = ($eSDL / $sdlTotal) * 100.0;
if (abs($sdlPct - 50.0) > 0.001) {
// SDL muss im neutralen Bereich sein.
// Zwischen 50% und 60% ist die EV-Rückrechnung erlaubt.
if ($sdlPct < 50.0 || $sdlPct > 60.0) {
$this->SendDebug(
"EV_Recalc",
"Skip: SDL nicht bei 50%, aktuell=" . round($sdlPct, 3) . "%",
"Skip: SDL nicht im Bereich 50-60%, aktuell=" . round($sdlPct, 3) . "%",
0
);
return;