From 562ab88c384c331266a09051232dd05189a35b45 Mon Sep 17 00:00:00 2001 From: nasseeder1 Date: Sat, 25 Jan 2025 23:03:51 +0000 Subject: [PATCH] 76_SolarForecast: contrib 1.44.3 git-svn-id: https://svn.fhem.de/fhem/trunk@29576 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/DS_Starter/76_SolarForecast.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fhem/contrib/DS_Starter/76_SolarForecast.pm b/fhem/contrib/DS_Starter/76_SolarForecast.pm index ea94df163..2a06418c8 100644 --- a/fhem/contrib/DS_Starter/76_SolarForecast.pm +++ b/fhem/contrib/DS_Starter/76_SolarForecast.pm @@ -15375,9 +15375,11 @@ sub __batRcmdOnBeam { " W, Rcmd: ".(defined $hfcg->{$i}{'rcdchargebat'.$bn} ? $hfcg->{$i}{'rcdchargebat'.$bn} : 'undef'). ", SoC: ".(defined $hfcg->{$i}{'soc'.$bn} ? $hfcg->{$i}{'soc'.$bn} : 'undef')." %"); - my $image = FW_makeImage ($bicon); + my $image = defined $hfcg->{$i}{'rcdchargebat'.$bn} ? FW_makeImage ($bicon) : ''; - $ret .= "$image"; + Log3 ($name, 1, "$name - Test orig title: $title"); + + $ret .= "$image"; } $ret .= "" if($ret); # freier Platz am Ende der Icon Zeile