76_SolarForecast: contrib 1.49.6

git-svn-id: https://svn.fhem.de/fhem/trunk@29820 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2025-04-03 21:01:38 +00:00
parent 59931c563c
commit f9bce16d67

View File

@ -17021,7 +17021,7 @@ sub __substituteIcon {
elsif ($ptyp eq 'consumerdummy') { # Icon Dummy Consumer
($icon, $color) = split '@', CurrentVal ($name, 'dummyIcon', CICONDEF);
$icon = CICONDEF if(!$icon);
$color = $pcurr > 0 ? CICONCOLDEF : CICONCOLINACT if(!$color);
$color = $pcurr > 0 ? CICONCOLACT : CICONCOLINACT if(!$color);
}
elsif ($ptyp eq 'battery') { # Icon Batterie
my ($ircmd, $icharge, $idischrg, $inorcmd) = split ':', BatteryVal ($name, $pn, 'bicon', '');