From f0fd14052a32ddad3991aa9a3e77786be90c874b Mon Sep 17 00:00:00 2001 From: nasseeder1 Date: Thu, 3 Jun 2021 16:44:26 +0000 Subject: [PATCH] 76_SolarForecast.pm: contrib 0.51.0 git-svn-id: https://svn.fhem.de/fhem/trunk@24579 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/DS_Starter/76_SolarForecast.pm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/fhem/contrib/DS_Starter/76_SolarForecast.pm b/fhem/contrib/DS_Starter/76_SolarForecast.pm index d36065eb2..2927ea222 100644 --- a/fhem/contrib/DS_Starter/76_SolarForecast.pm +++ b/fhem/contrib/DS_Starter/76_SolarForecast.pm @@ -3737,7 +3737,9 @@ sub forecastGraphic { ## no critic 'complexity' my $ftui = $paref->{ftui}; my $type = $hash->{TYPE}; - my $hfcg = {}; #(hfcg = hash forecast graphic) + + my %hfch; + my $hfcg = \%hfch; #(hfcg = hash forecast graphic) # Verbraucherlegende und Steuerung ################################### @@ -3799,8 +3801,6 @@ sub forecastGraphic { ## no critic 'complexity' my $val3 = $back->{val3}; my $val4 = $back->{val4}; my $thishour = $back->{thishour}; - $hfcg = $back->{hfcg}; - # get consumer list and display it in Graphics ################################################ @@ -4600,7 +4600,6 @@ sub _forecastGraphicFirstHour { val3 => $val3, val4 => $val4, thishour => $thishour, - hfcg => $hfcg, }; return ($back);