2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-06 06:08:44 +00:00

10_ZWave.pm: addNode off after addNode done or failed (Forum #51411)

git-svn-id: https://svn.fhem.de/fhem/trunk@11158 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2016-03-30 10:12:40 +00:00
parent 2eafc8ab3c
commit 5f2598ea06

View File

@ -3749,6 +3749,11 @@ ZWave_Parse($$@)
return ZWave_execInits($dh, 0);
}
if(($evt eq "failed" || $evt eq "done") &&
$cmd eq 'ZW_ADD_NODE_TO_NETWORK') {
AnalyzeCommand(undef, "set $ioName addNode off")
}
} elsif($cmd eq "ZW_APPLICATION_UPDATE") {
if($arg =~ m/....(..)..(.*)$/) {
my ($type6,$classes) = ($1, $2);