2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 04:36:36 +00:00

98_DOIF.pm: resetwait with repeat of the same command at the timer fixed

git-svn-id: https://svn.fhem.de/fhem/trunk@14555 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Damian 2017-06-22 17:30:03 +00:00
parent d09f46f6e5
commit 35b0078d05

View File

@ -2030,7 +2030,8 @@ DOIF_SetSleepTimer($$$$$$$)
}
if ($timerNr >= 0 and !AttrVal($pn,"timerWithWait","")) {#Timer
if ($last_cond != $nr or AttrVal($pn,"do","") eq "always" or AttrVal($pn,"repeatsame","")) {
if ($last_cond != $nr or AttrVal($pn,"do","") eq "always" or AttrVal($pn,"do","") eq "resetwait" or AttrVal($pn,"repeatsame","")) {
return 1;
} else {
return 0;