From c71fbeae8d343f087acd2b01ae7927116d741d7b Mon Sep 17 00:00:00 2001 From: DS_Starter Date: Fri, 2 Apr 2021 20:38:20 +0000 Subject: [PATCH] 76_SolarForecast.pm: contrib 0.27.0 git-svn-id: https://svn.fhem.de/fhem/trunk@24132 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/DS_Starter/76_SolarForecast.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fhem/contrib/DS_Starter/76_SolarForecast.pm b/fhem/contrib/DS_Starter/76_SolarForecast.pm index bde32cefc..a6386c190 100644 --- a/fhem/contrib/DS_Starter/76_SolarForecast.pm +++ b/fhem/contrib/DS_Starter/76_SolarForecast.pm @@ -1479,9 +1479,8 @@ sub _transferDWDForecastValues { $epoche = $t + (3600*$num); my ($ta,$realts) = TimeAdjust ($epoche); - my $ta1 = $realts; - $ta1 =~ s/:/<>/gx; - push @$daref, "CurrentHourPVforecast:".$calcpv." Wh:".$ta1 if($num == 0); + $realts =~ s/:/<>/gx; + push @$daref, "CurrentHourPVforecast:".$calcpv." Wh:".$realts if($num == 0); #push @$daref, "${time_str}_Time:" .$ta; $data{$type}{$name}{nexthours}{$time_str}{pvforecast} = $calcpv;