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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user