From c5acb2fe67c105809a759d584b11df519d63c7f8 Mon Sep 17 00:00:00 2001 From: DS_Starter Date: Wed, 26 Oct 2022 10:46:45 +0000 Subject: [PATCH] 76_Solarforcast: contrib 0.71.1 git-svn-id: https://svn.fhem.de/fhem/trunk@26587 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/DS_Starter/76_SolarForecast.pm | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/fhem/contrib/DS_Starter/76_SolarForecast.pm b/fhem/contrib/DS_Starter/76_SolarForecast.pm index 4fe89cbfd..4d93d3619 100644 --- a/fhem/contrib/DS_Starter/76_SolarForecast.pm +++ b/fhem/contrib/DS_Starter/76_SolarForecast.pm @@ -1536,7 +1536,7 @@ sub _setplantConfiguration { ## no critic "not used" return $err; } else { - return qq{Plant Configuration has been written to file "$plantcfg.$name"}; + return qq{Plant Configuration has been written to file "}.$plantcfg.$name.qq{"}; } } @@ -1553,7 +1553,7 @@ sub _setplantConfiguration { ## no critic "not used" } if($rbit) { - return qq{Plant Configuration restored from file "$plantcfg.$name"}; + return qq{Plant Configuration restored from file "}.$plantcfg.$name.qq{"}; } else { return qq{The Plant Configuration file "$plantcfg.$name" was empty, nothing restored}; @@ -3866,14 +3866,6 @@ sub ___readPercAndQuality { $perc = sprintf "%.0f", $perc; $data{$type}{$name}{nexthours}{"NextHour".sprintf("%02d",$num)}{pvcorrf} = $perc."/".$hq; - - #if($fd == 0 && $fh1) { - # $paref->{pvcorrf} = $perc."/".$hq; - # $paref->{nhour} = sprintf("%02d",$fh1); - # $paref->{histname} = "pvcorrfactor"; - # setPVhistory ($paref); - # delete $paref->{histname}; - #} return ($hcfound, $perc, $hq); }