From a902604003ab063b12e9c630bb73ecbb278a711e Mon Sep 17 00:00:00 2001 From: DanielHaefliger Date: Thu, 5 Feb 2026 17:21:00 +0100 Subject: [PATCH] no message --- Bat_EV_SDL _V2/module.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Bat_EV_SDL _V2/module.php b/Bat_EV_SDL _V2/module.php index 2685c01..fab5022 100644 --- a/Bat_EV_SDL _V2/module.php +++ b/Bat_EV_SDL _V2/module.php @@ -624,10 +624,10 @@ private function CalculateBatteryDistribution(float $pEvW, float $pSdlW): array foreach ($batteriesRaw as $bat) { print_r($bat); print_r("\N"); - print_r($GetValue($bat['register_bat_power'])); + print_r($GetValue($bat->register_bat_power)); print_r("\N"); - $totalPower_ist += GetValue($bat['register_bat_power']); + $totalPower_ist += GetValue($bat->register_bat_power); }