mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 23:06:37 +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:
parent
4b643e4090
commit
2eafc8ab3c
@ -3737,12 +3737,12 @@ ZWave_Parse($$@)
|
|||||||
my $dh = $modules{ZWave}{defptr}{"$homeId $1"};
|
my $dh = $modules{ZWave}{defptr}{"$homeId $1"};
|
||||||
return "" if(!$dh);
|
return "" if(!$dh);
|
||||||
|
|
||||||
my $addSecure = $iodev->{addSecure}; # addNode off deletes it
|
|
||||||
AnalyzeCommand(undef, "set $ioName addNode off")
|
AnalyzeCommand(undef, "set $ioName addNode off")
|
||||||
if($cmd eq 'ZW_ADD_NODE_TO_NETWORK');
|
if($cmd eq 'ZW_ADD_NODE_TO_NETWORK');
|
||||||
|
|
||||||
ZWave_wakeupTimer($dh, 1) if(ZWave_isWakeUp($dh));
|
ZWave_wakeupTimer($dh, 1) if(ZWave_isWakeUp($dh));
|
||||||
|
|
||||||
|
my $addSecure = $iodev->{addSecure}; # addNode off deletes it
|
||||||
if($addSecure) {
|
if($addSecure) {
|
||||||
return "" if (ZWave_secIncludeStart($dh, $iodev) == 1);
|
return "" if (ZWave_secIncludeStart($dh, $iodev) == 1);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user