2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

98_DOIF.pm: fixed setting of interval-timer

git-svn-id: https://svn.fhem.de/fhem/trunk@16651 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Damian 2018-04-23 06:28:53 +00:00
parent b003e53460
commit 6d0c9f84af

View File

@ -2472,7 +2472,7 @@ DOIF_TimerTrigger ($)
if (!AttrVal($hash->{NAME},"disable","")) {
if (defined ($hash->{interval}{$j})) {
if ($hash->{interval}{$j} != -1) {
DOIF_SetTimer($hash,"DOIF_TimerTrigger",$hash->{interval}{$j},1);
DOIF_SetTimer($hash,"DOIF_TimerTrigger",$hash->{interval}{$j});
DOIF_SetTimer($hash,"DOIF_TimerTrigger",$j,1);
}
} else {