mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-01 01:09:47 +00:00
10_ZWave.pm: remove wrong error message for neighborUpdate (Forum #49057)
git-svn-id: https://svn.fhem.de/fhem/trunk@10801 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ad132d263c
commit
1825205a5e
@ -836,9 +836,7 @@ ZWave_Cmd($$@)
|
||||
}
|
||||
|
||||
my $r = ZWave_addToSendStack($baseHash, $type, $data);
|
||||
if($r) {
|
||||
return (AttrVal($name,"verbose",3) > 2 ? $r : undef);
|
||||
}
|
||||
return (AttrVal($name,"verbose",3) > 2 ? $r : undef) if($r);
|
||||
|
||||
my $val;
|
||||
if($type eq "get" && $hash->{CL}) { # Wait for the result for frontend cmd
|
||||
@ -859,8 +857,10 @@ ZWave_Cmd($$@)
|
||||
if($data && $cmd eq "neighborList");
|
||||
|
||||
} elsif($type ne "get") {
|
||||
ZWave_processSendStack($hash, "next") if($cmd eq "neighborUpdate");
|
||||
$cmd .= " ".join(" ", @a) if(@a);
|
||||
readingsSingleUpdate($hash, "state", $cmd, 1);
|
||||
|
||||
}
|
||||
|
||||
return $val;
|
||||
|
Loading…
Reference in New Issue
Block a user