2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-16 10:46:03 +00:00

76_SolarForecast.pm: contrib 0.67.6

git-svn-id: https://svn.fhem.de/fhem/trunk@26378 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2022-09-03 08:10:49 +00:00
parent 9ee15517f7
commit f6e4a6080b

View File

@ -120,7 +120,8 @@ BEGIN {
# Versions History intern
my %vNotesIntern = (
"0.67.6 "=> "02.09.2022 add ___setPlanningDeleteMeth, consumer can be planned across daily boundaries ",
"0.67.6 "=> "02.09.2022 add ___setPlanningDeleteMeth, consumer can be planned across daily boundaries ".
"fix JS Fehler (__weatherOnBeam) Forum: https://forum.fhem.de/index.php/topic,117864.msg1233661.html#msg1233661 ",
"0.67.5 "=> "28.08.2022 add checkRegex ",
"0.67.4 "=> "28.08.2022 ___switchConsumerOn -> no switch on if additional switch off condition is true ".
"__setConsRcmdState -> Consumer can be switched on in case of missing PV power if key power=0 is set ".
@ -5863,10 +5864,9 @@ sub __weatherOnBeam {
my $wcc = $hfcg->{$i}{wcc}; # Bewölkungsgrad ergänzen
$wcc = $wcc =~ /(-?\d+(\.\d+)?)/ ? $1 : "-";
#if(IsNumeric ($wcc)) { # Javascript Fehler vermeiden: https://forum.fhem.de/index.php/topic,117864.msg1233661.html#msg1233661
# $wcc += 0;
#}
if(IsNumeric ($wcc)) { # Javascript Fehler vermeiden: https://forum.fhem.de/index.php/topic,117864.msg1233661.html#msg1233661
$wcc += 0;
}
$title .= ': '.$wcc;