mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
76_Solarforcast: contrib 0.54.4
git-svn-id: https://svn.fhem.de/fhem/trunk@24787 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
286c208465
commit
ea4f6ff6a0
@ -4655,13 +4655,10 @@ sub _beamGraphic {
|
||||
if($show_diff eq 'top') { # Zusätzliche Zeile Ertrag - Verbrauch
|
||||
$ret .= "<tr class='$htr{$m}{cl}'><td class='solarfc'></td>";
|
||||
my $ii;
|
||||
for my $i (0..($maxhours*2)-1) { # gleiche Bedingung wie oben
|
||||
|
||||
if(AttrVal ($name, "debug", 0)) { # nur für Debugging
|
||||
Log (1, qq{DEBUG> $name - show_night: $show_night, weather: $hfcg->{$i}{weather}, beam1: $hfcg->{$i}{beam1}, beam2: $hfcg->{$i}{beam2}});
|
||||
}
|
||||
|
||||
next if (!$show_night && ($hfcg->{$i}{weather} > 99) && !$hfcg->{$i}{beam1} && !$hfcg->{$i}{beam2});
|
||||
for my $i (0..($maxhours*2)-1) { # gleiche Bedingung wie oben
|
||||
next if (!$show_night && ($hfcg->{$i}{weather} > 99)
|
||||
&& !$hfcg->{$i}{beam1}
|
||||
&& !$hfcg->{$i}{beam2});
|
||||
$ii++; # wieviele Stunden haben wir bisher angezeigt ?
|
||||
|
||||
last if ($ii > $maxhours); # vorzeitiger Abbruch
|
||||
|
Loading…
Reference in New Issue
Block a user