From 6248f8ee916dda6ee55e5484a38c3e4a10251e2a Mon Sep 17 00:00:00 2001 From: nasseeder1 Date: Sat, 16 Sep 2023 11:14:58 +0000 Subject: [PATCH] 76_SolarForecast: contrib 0.82.4 git-svn-id: https://svn.fhem.de/fhem/trunk@27972 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/DS_Starter/76_SolarForecast.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fhem/contrib/DS_Starter/76_SolarForecast.pm b/fhem/contrib/DS_Starter/76_SolarForecast.pm index d861781e9..24c741832 100644 --- a/fhem/contrib/DS_Starter/76_SolarForecast.pm +++ b/fhem/contrib/DS_Starter/76_SolarForecast.pm @@ -139,7 +139,7 @@ BEGIN { # Versions History intern my %vNotesIntern = ( - "0.82.4" => "16.09.2023 generate DWD API graphis header information and extend plant check for DWD API errors ", + "0.82.4" => "16.09.2023 generate DWD API graphis header information and extend plant check for DWD API errors, minor fixes ", "0.82.3" => "14.09.2023 more mouse over information in graphic header, ai support in autocorrection selectable ". "substitute use of Test2::Suite ", "0.82.2" => "11.09.2023 activate implementation of DWD AI support, add runTimeTrainAI ", @@ -8737,12 +8737,12 @@ sub _graphicHeader { my $ydaytxt = $hqtxt{yday}{$lang}.': '."".$ydayDvtn.""; my $text_tdayDvtn = $tdayDvtn =~ /^-[1-9]/? $hqtxt{pmtp}{$lang} : - $tdayDvtn =~ /^0/ ? $hqtxt{petp}{$lang} : + $tdayDvtn =~ /^-?0,/ ? $hqtxt{petp}{$lang} : $tdayDvtn =~ /^[1-9]/ ? $hqtxt{pltp}{$lang} : $hqtxt{wusond}{$lang}; my $text_ydayDvtn = $ydayDvtn =~ /^-[1-9]/? $hqtxt{pmtp}{$lang} : - $ydayDvtn =~ /^0/ ? $hqtxt{petp}{$lang} : + $ydayDvtn =~ /^-?0,/ ? $hqtxt{petp}{$lang} : $ydayDvtn =~ /^[1-9]/ ? $hqtxt{pltp}{$lang} : $hqtxt{snbefb}{$lang};