diff --git a/fhem/contrib/DS_Starter/76_SolarForecast.pm b/fhem/contrib/DS_Starter/76_SolarForecast.pm index 7a3ed1b81..736058caf 100644 --- a/fhem/contrib/DS_Starter/76_SolarForecast.pm +++ b/fhem/contrib/DS_Starter/76_SolarForecast.pm @@ -11974,12 +11974,12 @@ sub __batChargeOptTargetPower { Log3 ($name, 1, "$name DEBUG> ChargeOTP - max OTP Bat $bn: $mn W, sum need: $sn Wh, number hrs: $mv, average: $avg W"); } - storeReading ('Battery_ChargeOptTargetPower_'.$bn, $otp.' W'); + storeReading ('Battery_ChargeOptTargetPower_'.$bn, $target.' W'); } if ($paref->{debug} =~ /batteryManagement/) { Log3 ($name, 1, "$name DEBUG> ChargeOTP - The limit for grid feed-in is $fipl W"); - Log3 ($name, 1, "$name DEBUG> ChargeOTP - NOTE: The hours printed below are the estimated number of hours on the current day with at least the respective PV surplus."); + Log3 ($name, 1, "$name DEBUG> ChargeOTP - NOTE: The hours listed below are the estimated number of hours remaining on the current day with at least the respective PV surplus.."); for my $k (sort { $a <=> $b } keys %{$hsurp}) { for my $bat (sort @batteries) {