From 35b0078d05a72ce245044d55a68051ff774e0ec0 Mon Sep 17 00:00:00 2001 From: Damian <> Date: Thu, 22 Jun 2017 17:30:03 +0000 Subject: [PATCH] 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 --- fhem/FHEM/98_DOIF.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fhem/FHEM/98_DOIF.pm b/fhem/FHEM/98_DOIF.pm index f5cb66911..977ea3c67 100644 --- a/fhem/FHEM/98_DOIF.pm +++ b/fhem/FHEM/98_DOIF.pm @@ -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;