2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

10_ZWave.pm: slight reorder

git-svn-id: https://svn.fhem.de/fhem/trunk@11157 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2016-03-30 10:08:48 +00:00
parent 4b643e4090
commit 2eafc8ab3c

View File

@ -3737,12 +3737,12 @@ ZWave_Parse($$@)
my $dh = $modules{ZWave}{defptr}{"$homeId $1"};
return "" if(!$dh);
my $addSecure = $iodev->{addSecure}; # addNode off deletes it
AnalyzeCommand(undef, "set $ioName addNode off")
if($cmd eq 'ZW_ADD_NODE_TO_NETWORK');
ZWave_wakeupTimer($dh, 1) if(ZWave_isWakeUp($dh));
my $addSecure = $iodev->{addSecure}; # addNode off deletes it
if($addSecure) {
return "" if (ZWave_secIncludeStart($dh, $iodev) == 1);
}