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:
rudolfkoenig
2016-02-12 18:09:13 +00:00
parent 148da08083
commit 73d6593d5c

View File

@@ -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;