2
0
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:
Beta-User 2020-11-02 05:50:23 +00:00
parent bdb7a2bee6
commit 2611eb9b4e

View File

@ -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;
}