2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-08 05:15:10 +00:00

PRESENCE_Define honours the disable attribute

git-svn-id: https://svn.fhem.de/fhem/trunk@2674 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
markusbloch 2013-02-09 12:44:20 +00:00
parent a572a87272
commit 15711c434f

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