diff --git a/fhem/FHEM/38_BEOK.pm b/fhem/FHEM/38_BEOK.pm index 776fcb052..177239037 100644 --- a/fhem/FHEM/38_BEOK.pm +++ b/fhem/FHEM/38_BEOK.pm @@ -268,10 +268,12 @@ sub Get { my $hash = shift; my $name = shift; my $cmd = shift // return "get $name needs at least one argument !"; - my $gets = 'status:noArg auth:noArg temperature:noArg'; + my $gets = 'status:noArg auth:noArg temperature:noArg'; return "unknown command, choose one of $gets" if ($cmd eq '?'); + Log3($name, 4, "$name, Get $cmd"); + if ($cmd eq 'auth') { return 'device auth key already stored' if ($hash->{isAuth}); @@ -356,8 +358,6 @@ sub Set { return SetExtensions($hash, $cmdList, $name, $cmd, $subcmd); } - ($subcmd) ? Log3($name, 5, "$name, set $cmd $subcmd") : Log3($name, 5, "$name, set $cmd"); - return 'no set commands allowed, auth key and device id are missing ! ( need run get auth first )' if (!$hash->{isAuth}); @@ -1181,7 +1181,10 @@ sub summaryFn { $locked = "$locked" if ($locked); $html .= '