mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
98_WeekdayTimer.pm: fix warning for non-nummeric delayed condition
git-svn-id: https://svn.fhem.de/fhem/trunk@23066 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
5704e921c6
commit
0fb3d4dda6
@ -952,7 +952,7 @@ sub WeekdayTimer_Update {
|
||||
# Fenserkontakte abfragen - wenn einer im Status closed, dann Schaltung um 60 Sekunden verzögern
|
||||
my $winopen = WeekdayTimer_FensterOffen($hash, $newParam, $idx);
|
||||
if ($winopen) {
|
||||
readingsSingleUpdate ($hash, "state", ($winopen == 1 or lc($winopen) eq "true") ? "open window" : $winopen, 1);
|
||||
readingsSingleUpdate ($hash, "state", ($winopen eq "1" or lc($winopen) eq "true") ? "open window" : $winopen, 1);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user