2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-08 01:14:19 +00:00

76_SolarForecast: fix warning

git-svn-id: https://svn.fhem.de/fhem/trunk@28464 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2024-02-02 08:50:10 +00:00
parent cc5a30c1df
commit d486fb7670

View File

@ -157,6 +157,7 @@ BEGIN {
# Versions History intern # Versions History intern
my %vNotesIntern = ( 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.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 ". "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 ". "replace setter currentWeatherDev by attr ctrlWeatherDev1, new data with sub CircularSumVal ".
@ -8722,8 +8723,8 @@ sub _calcCaQcomplex {
return; return;
} }
my $chwcc = HistoryVal ($hash, $day, sprintf("%02d",$h), 'wcc', 0); # Wolkenbedeckung Heute & abgefragte Stunde my $chwcc = HistoryVal ($hash, $day, sprintf("%02d",$h), 'wcc', 0); # Wolkenbedeckung Heute & abgefragte Stunde
my $range = cloud2bin ($chwcc); my $range = cloud2bin ($chwcc);
$paref->{pvrl} = $pvrl; $paref->{pvrl} = $pvrl;
$paref->{pvfc} = $pvfc; $paref->{pvfc} = $pvfc;
@ -8813,7 +8814,6 @@ sub __calcNewFactor {
my $hash = $paref->{hash}; my $hash = $paref->{hash};
my $name = $paref->{name}; my $name = $paref->{name};
my $type = $paref->{type}; my $type = $paref->{type};
my $oldfac = $paref->{oldfac};
my $pvrl = $paref->{pvrl}; my $pvrl = $paref->{pvrl};
my $pvfc = $paref->{pvfc}; my $pvfc = $paref->{pvfc};
my $range = $paref->{range}; my $range = $paref->{range};