diff --git a/fhem/FHEM/73_PRESENCE.pm b/fhem/FHEM/73_PRESENCE.pm index 878c2ec30..6daf0f818 100755 --- a/fhem/FHEM/73_PRESENCE.pm +++ b/fhem/FHEM/73_PRESENCE.pm @@ -209,6 +209,8 @@ sub PRESENCE_Set($@) { my ($hash, @a) = @_; + + return "No Argument given" if(!defined($a[1])); my $usage = ($hash->{MODE} ne "lan-bluetooth" ? "Unknown argument ".$a[1].", choose one of statusRequest " : undef);