From 15711c434f0981de2c4bcdd6adc491a2510ae032 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@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; }