mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
98_DOIF.pm: fixed reset subtimer
git-svn-id: https://svn.fhem.de/fhem/trunk@10337 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
3baaefb0ba
commit
1426471e7a
@ -1099,7 +1099,7 @@ DOIF_SetSleepTimer($$$$$$$)
|
||||
#delete ($defs{$hash->{NAME}}{READINGS}{wait_timer});
|
||||
readingsSingleUpdate ($hash, "wait_timer", "no timer",1);
|
||||
$hash->{helper}{sleeptimer}=-1;
|
||||
$subnr=$hash->{helper}{sleepsubtimer} if ($hash->{helper}{sleepsubtimer}!=-1);
|
||||
$subnr=$hash->{helper}{sleepsubtimer} if ($hash->{helper}{sleepsubtimer}!=-1 and $sleeptimer == $nr);
|
||||
return 0 if ($sleeptimer == $nr and $waitdelsubnr[$subnr]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user