76_SolarForecast.pm: contrib 0.28.0

git-svn-id: https://svn.fhem.de/fhem/trunk@24140 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
DS_Starter
2021-04-03 10:33:26 +00:00
parent f637e0cc11
commit 14edcf053e

View File

@@ -759,10 +759,12 @@ sub _setpvCorrectionFactor { ## no critic "not used"
readingsSingleUpdate($hash, $opt, $prop." (manual)", 1);
my $cfnum = (split "_", $opt)[1];
deleteReadingspec ($hash, "pvCorrectionFactor_${cfnum}_autocalc");
my @da;
my $t = time; # aktuelle Unix-Zeit
my $chour = strftime "%H", localtime($t); # aktuelle Stunde
my $fcdev = ReadingsVal($name, "currentForecastDev", ""); # aktuelles Forecast Device
my $params = {
hash => $hash,