diff --git a/Abrechnung/module.php b/Abrechnung/module.php index c3a0883..15d9a11 100644 --- a/Abrechnung/module.php +++ b/Abrechnung/module.php @@ -150,8 +150,8 @@ private function CalculateAllPowerCosts($powerMeters, $tariffs, $from, $to) $metersByUser[$userId] = []; } $metersByUser[$userId][$name] = [ - 'importVar' => $m['var_import'] ?? null, - 'exportVar' => $m['var_export'] ?? null + 'importVar' => $m['var_consumption'] ?? null, + 'exportVar' => $m['var_feed'] ?? null ]; // Akkus initialisieren