2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

10_ZWave.pm: no ERROR: prefix for SECURE background get (Forum #130379)

git-svn-id: https://svn.fhem.de/fhem/trunk@26721 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2022-11-19 09:59:03 +00:00
parent 6f8737bdc9
commit 1f6ef0af6d

View File

@ -1246,7 +1246,7 @@ ZWave_SCmd($$@)
if($hash->{secInProgress} && !(@a < 2 || $a[1] eq "?")) {
my %h = ( T => $type, A => \@a, CL => $hash->{CL} );
push @{$hash->{secStack}}, \%h;
return ($type eq "get" ?
return ($type eq "get" && $hash->{CL} ?
"Secure operation in progress, executing in background" : "");
}
return ZWave_Cmd($type, $hash, @a);