76_Solarforcast: contrib 0.71.1

git-svn-id: https://svn.fhem.de/fhem/trunk@26587 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
DS_Starter
2022-10-26 10:46:45 +00:00
parent 44ba2cc851
commit c5acb2fe67

View File

@@ -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);
}