53_GHoma.pm: accept upprt case MAC

git-svn-id: https://svn.fhem.de/fhem/trunk@11632 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
klauswitt
2016-06-07 20:36:58 +00:00
parent 94b813debb
commit 0c2c05af89

View File

@@ -166,7 +166,7 @@ sub GHoma_Define($$$) { #
#my $name = $a[0];
# my $addr = $a[2];
#$hash->{Id} = pack('C*', ( hex(substr($pport,0,2)), hex(substr($pport,2,2)), hex(substr($pport,4,2)) ) );
$hash->{Id} = $pport;
$hash->{Id} = lc $pport;
return;
}