From 7833978aea1ea4f877c8551e81393c7bf4abf0aa Mon Sep 17 00:00:00 2001 From: "belevo\\mh" Date: Fri, 17 Apr 2026 13:49: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 031d33c..805ffaa 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 += GetValue($bat->register_bat_power); + $totalPower_ist += (-1)*GetValue($bat->register_bat_power); } // ----------------------------