PRESENCE_Define honours the disable attribute

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@2674 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
markusbloch
2013-02-09 12:44:20 +00:00
parent 821999589a
commit b7d54628e4

View File

@@ -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;
}