diff --git a/fhem/contrib/DS_Starter/76_SolarForecast.pm b/fhem/contrib/DS_Starter/76_SolarForecast.pm index e0e2fc3a5..75060f2fb 100644 --- a/fhem/contrib/DS_Starter/76_SolarForecast.pm +++ b/fhem/contrib/DS_Starter/76_SolarForecast.pm @@ -4331,8 +4331,8 @@ sub _forecastGraphicHeader { ###################### my $pcqicon; - $pcqicon = $pcq < 3 ? FW_makeImage('10px-kreis-rot.png') : - $pcq < 5 ? FW_makeImage('10px-kreis-gelb.png') : + $pcqicon = $pcq < 3 ? FW_makeImage('10px-kreis-rot.png', $pvcanz) : + $pcq < 5 ? FW_makeImage('10px-kreis-gelb.png', $pvcanz) : FW_makeImage('10px-kreis-gruen.png'); $pcqicon = "-" if(!$pvfc00 || $pcq == -1); @@ -4341,8 +4341,8 @@ sub _forecastGraphicHeader { ####################### my $alias = AttrVal ($name, "alias", $name ); # Linktext als Aliasname my $dlink = qq{$alias}; - $header .= "".$dlink."".$lupt. " ".$lup." ".$upicon." "; - $header .= " ".$autoct." " .$acicon."".$lbpcq." " .$pcqicon. ""; + $header .= "".$dlink."".$lupt. " ".$lup." ".$upicon." "; + $header .= " ".$autoct." " .$acicon."".$lbpcq." " .$pcqicon. ""; } # Header Information pv