diff --git a/Bat_EV_SDL _V2/module.php b/Bat_EV_SDL _V2/module.php index 3d215f3..75db65a 100644 --- a/Bat_EV_SDL _V2/module.php +++ b/Bat_EV_SDL _V2/module.php @@ -663,8 +663,8 @@ private function CalculateBatteryDistribution(float $pEvW, float $pSdlW): array // aktuelle - EV_SOLL = aktuelle SDL // aktuelle - SDL_SOLL = aktuelle EV // ---------------------------- - $this->SetValue("Aktuelle_Leistung_SDL", $totalPower_ist - $pEvW); - $this->SetValue("Aktuelle_Leistung_EV", $pEvW); + $this->SetValue("Aktuelle_Leistung_SDL", $pSdlW); + $this->SetValue("Aktuelle_Leistung_EV", $totalPower_ist - $pSdlW); return $finalOutput; }