From 95ec4030e2071de4ac4e4b2c709be5488c48d5f5 Mon Sep 17 00:00:00 2001 From: DS_Starter Date: Wed, 21 Apr 2021 20:21:41 +0000 Subject: [PATCH] 76_SolarForecast.pm: contrib 0.38.3 git-svn-id: https://svn.fhem.de/fhem/trunk@24304 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/DS_Starter/76_SolarForecast.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fhem/contrib/DS_Starter/76_SolarForecast.pm b/fhem/contrib/DS_Starter/76_SolarForecast.pm index 2d945537c..14f92d336 100644 --- a/fhem/contrib/DS_Starter/76_SolarForecast.pm +++ b/fhem/contrib/DS_Starter/76_SolarForecast.pm @@ -2727,7 +2727,7 @@ sub forecastGraphic { my $pvcorrf00 = NexthoursVal($hash, "NextHour00", "pvcorrf", "-/m"); my ($pcf,$pcq) = split "/", $pvcorrf00; - $pcq =~ s/m/15/xs; + $pcq =~ s/m/100/xs; my $pvfc00 = NexthoursVal($hash, "NextHour00", "pvfc", undef); if ($kw eq 'kWh') { @@ -2837,7 +2837,7 @@ sub forecastGraphic { $pcqicon = $pcq < 10 ? "" : $pcq < 20 ? "" : ""; - $pcqicon = "-" if(!$pvfc00); + $pcqicon = "-" if(!$pvfc00 || $pcq == 100); ## erste Header-Zeilen