2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

00_ZWDongle.pm: fix some wrong attr setting (Forum #73490)

git-svn-id: https://svn.fhem.de/fhem/trunk@14638 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2017-07-03 18:39:03 +00:00
parent 57e9606bd2
commit f1e5e6d58e

View File

@ -494,7 +494,7 @@ ZWDongle_Get($@)
substr($ret,4,8), substr($ret,12,2));
$hash->{homeId} = substr($ret,4,8);
$hash->{nodeIdHex} = substr($ret,12,2);
$attr{NAME}{homeId} = substr($ret,4,8);
$attr{$name}{homeId} = substr($ret,4,8);
} elsif($cmd eq "version") { ############################
$msg = join("", map { chr($_) } @r[2..13]);