mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
10_ZWave.pm: remove sucNodeAdd/Del if not appropriate (Forum #53066)
git-svn-id: https://svn.fhem.de/fhem/trunk@11577 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
2428d51312
commit
45aea98f1d
@ -768,10 +768,13 @@ ZWave_Cmd($$@)
|
||||
if($type eq "set") {
|
||||
$cmdList{neighborUpdate}{fmt} = "48$id";
|
||||
$cmdList{neighborUpdate}{id} = "";
|
||||
$cmdList{sucRouteAdd}{fmt} = "51$id";
|
||||
$cmdList{sucRouteAdd}{id} = "";
|
||||
$cmdList{sucRouteDel}{fmt} = "55$id";
|
||||
$cmdList{sucRouteDel}{id} = "";
|
||||
my $iohash = $hash->{IODev};
|
||||
if($iohash && ReadingsVal($iohash->{NAME}, "sucNodeId","no") ne "no") {
|
||||
$cmdList{sucRouteAdd}{fmt} = "51$id";
|
||||
$cmdList{sucRouteAdd}{id} = "";
|
||||
$cmdList{sucRouteDel}{fmt} = "55$id";
|
||||
$cmdList{sucRouteDel}{id} = "";
|
||||
}
|
||||
}
|
||||
$cmdList{neighborList}{fmt} = "x" if($type eq "get"); # Add meta command
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user