From b7d54628e48ff6e0d3707e6efb8e813bc63e0cc4 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: svn://svn.code.sf.net/p/fhem/code/trunk@2674 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/73_PRESENCE.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/73_PRESENCE.pm b/fhem/FHEM/73_PRESENCE.pm index 1acee8728..3d9c35e0e 100755 --- a/fhem/FHEM/73_PRESENCE.pm +++ b/fhem/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; }