mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
76_Solarforcast: contrib 0.54.4
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@24735 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
8d397a00f4
commit
d4545b5a54
@ -4663,11 +4663,14 @@ sub _beamGraphic {
|
||||
last if ($ii > $maxhours); # vorzeitiger Abbruch
|
||||
|
||||
$val = formatVal6($hfcg->{$i}{diff},$kw,$hfcg->{$i}{weather});
|
||||
|
||||
if ($val ne ' ') { # Forum: https://forum.fhem.de/index.php/topic,117864.msg1166215.html#msg1166215
|
||||
$val = $hfcg->{$i}{diff} < 0 ?
|
||||
'<b>'.$val.'<b/>' :
|
||||
$val > 0 ?
|
||||
'+'.$val :
|
||||
$val; # negative Zahlen in Fettschrift, 0 aber ohne +
|
||||
}
|
||||
|
||||
$ret .= "<td class='solarfc' style='vertical-align:middle; text-align:center;'>$val</td>";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user