diff --git a/fhem/FHEM/73_PRESENCE.pm b/fhem/FHEM/73_PRESENCE.pm index 8831efc78..f58a27959 100755 --- a/fhem/FHEM/73_PRESENCE.pm +++ b/fhem/FHEM/73_PRESENCE.pm @@ -67,7 +67,7 @@ PRESENCE_Define($$) Log 2, $msg; return $msg; } - elsif(not (@a == 5 or @a == 6)) { + elsif($a[2] eq "lan-bluetooth" and not (@a == 5 or @a == 6)) { my $msg = "wrong syntax: define PRESENCE lan-bluetooth [:port] [ ]"; Log 2, $msg; return $msg;