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

98_RandomTimer: PERL WARING at startup repaired

git-svn-id: https://svn.fhem.de/fhem/trunk@13790 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
orti-otto 2017-03-24 20:16:44 +00:00
parent 6b88cef86e
commit 864f800566

View File

@ -111,7 +111,7 @@ sub RandomTimer_Define($$)
readingsSingleUpdate ($hash, "TimeToSwitch", $hash->{helper}{TIMETOSWITCH}, 1);
myRemoveInternalTimer("SetTimer", $hash);
myInternalTimer ("SetTimer", time()+1, "RandomTimer_SetTimer", $hash, 0);
myInternalTimer ("SetTimer", time(), "RandomTimer_SetTimer", $hash, 0);
return undef;
}