mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
00_ZWDongle.pm: check for createNode parameter (Forum #103406)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@20092 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
1a953b09a2
commit
7026b00bfb
@ -355,6 +355,8 @@ ZWDongle_Set($@)
|
||||
$type =~ m/^createNode/ ||
|
||||
$type eq "sendNIF") {
|
||||
|
||||
return "Usage: $type <NODENAME_or_Number>" if(!defined($a[0]));
|
||||
|
||||
$a[0] =~ s/^UNKNOWN_//;
|
||||
|
||||
$a[0] = hex($defs{$a[0]}{nodeIdHex})
|
||||
|
Loading…
x
Reference in New Issue
Block a user