mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
59_Twilight.pm: fix warning
git-svn-id: https://svn.fhem.de/fhem/trunk@23071 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
bdb7a2bee6
commit
2611eb9b4e
@ -1034,7 +1034,7 @@ sub getwTYPE_Weather {
|
||||
|
||||
my $lastestFcHourVal = -1;
|
||||
|
||||
for (my $i=28; $i=0; $i--) {
|
||||
for (my $i=28; $i>-1; $i--) {
|
||||
$lastestFcHourVal = ReadingsNum($extDev,"hfc${i}_cloudCover",-1);
|
||||
last if $lastestFcHourVal > -1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user