From d486fb767078dbdedb7e07546353fa9af936ddd5 Mon Sep 17 00:00:00 2001 From: nasseeder1 Date: Fri, 2 Feb 2024 08:50:10 +0000 Subject: [PATCH] 76_SolarForecast: fix warning git-svn-id: https://svn.fhem.de/fhem/trunk@28464 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/76_SolarForecast.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fhem/FHEM/76_SolarForecast.pm b/fhem/FHEM/76_SolarForecast.pm index 9e7bdd5fb..3c7fabcf5 100644 --- a/fhem/FHEM/76_SolarForecast.pm +++ b/fhem/FHEM/76_SolarForecast.pm @@ -157,6 +157,7 @@ BEGIN { # Versions History intern my %vNotesIntern = ( + "1.14.2" => "02.02.2024 fix warning ", "1.14.1" => "01.02.2024 language support for ___setConsumerPlanningState -> supplement, fix setting 'swoncond not met' ", "1.14.0" => "31.01.2024 data maintenance, new sub _addDynAttr for adding attributes at runtime ". "replace setter currentWeatherDev by attr ctrlWeatherDev1, new data with sub CircularSumVal ". @@ -8722,8 +8723,8 @@ sub _calcCaQcomplex { return; } - my $chwcc = HistoryVal ($hash, $day, sprintf("%02d",$h), 'wcc', 0); # Wolkenbedeckung Heute & abgefragte Stunde - my $range = cloud2bin ($chwcc); + my $chwcc = HistoryVal ($hash, $day, sprintf("%02d",$h), 'wcc', 0); # Wolkenbedeckung Heute & abgefragte Stunde + my $range = cloud2bin ($chwcc); $paref->{pvrl} = $pvrl; $paref->{pvfc} = $pvfc; @@ -8813,7 +8814,6 @@ sub __calcNewFactor { my $hash = $paref->{hash}; my $name = $paref->{name}; my $type = $paref->{type}; - my $oldfac = $paref->{oldfac}; my $pvrl = $paref->{pvrl}; my $pvfc = $paref->{pvfc}; my $range = $paref->{range};