From c11362dd770971569b649e531a0b9a8709de0e63 Mon Sep 17 00:00:00 2001 From: "belevo\\mh" Date: Fri, 17 Apr 2026 13:00:11 +0200 Subject: [PATCH] no message --- Bat_EV_SDL _V2/module.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bat_EV_SDL _V2/module.php b/Bat_EV_SDL _V2/module.php index 8a54061..0106be8 100644 --- a/Bat_EV_SDL _V2/module.php +++ b/Bat_EV_SDL _V2/module.php @@ -627,7 +627,7 @@ private function CalculateBatteryDistribution(float $pEvW, float $pSdlW): array $totalPower_ist = 0; foreach ($batteriesRaw as $bat) { - $totalPower_ist += (-1)*GetValue($bat->register_bat_power); + $totalPower_ist += GetValue($bat->register_bat_power); } // ----------------------------