mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
36_LaCrosse.pm: allow 4 byte address
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@20217 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
995d50a8ca
commit
cc2618f007
@ -44,7 +44,7 @@ sub LaCrosse_Define($$) {
|
|||||||
return $msg;
|
return $msg;
|
||||||
}
|
}
|
||||||
|
|
||||||
$a[2] =~ m/^([\da-f]{2})$/i;
|
$a[2] =~ m/^([\da-f]{2,4})$/i;
|
||||||
return "$a[2] is not a valid LaCrosse address" if( !defined($1) );
|
return "$a[2] is not a valid LaCrosse address" if( !defined($1) );
|
||||||
|
|
||||||
my $name = $a[0];
|
my $name = $a[0];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user