From 0261de386f06e54d2f2bc362a3c46623933816be Mon Sep 17 00:00:00 2001 From: markusbloch <> Date: Sat, 9 Feb 2013 12:44:20 +0000 Subject: [PATCH] PRESENCE_Define honours the disable attribute git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2674 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/73_PRESENCE.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FHEM/73_PRESENCE.pm b/FHEM/73_PRESENCE.pm index 1acee8728..3d9c35e0e 100755 --- a/FHEM/73_PRESENCE.pm +++ b/FHEM/73_PRESENCE.pm @@ -128,7 +128,7 @@ PRESENCE_Define($$) { $hash->{MODE} = $destination; - PRESENCE_StartLocalScan($hash); + InternalTimer(gettimeofday()+2, "PRESENCE_StartLocalScan", $hash, 1) unless(exists($hash->{helper}{DISABLED}) and $hash->{helper}{DISABLED}); return; }