mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
TRX_SECURITY fix for KD101 set
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3145 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
6d1d425c37
commit
36412e2c9e
@ -150,11 +150,11 @@ TRX_SECURITY_Set($@)
|
||||
my $id1;
|
||||
my $id2;
|
||||
my $id3;
|
||||
if ($deviceid =~ /(..)(..)/ ) {
|
||||
if ($deviceid =~ /^(..)(..)$/) {
|
||||
$id1 = $2;
|
||||
$id2 = "00";
|
||||
$id3 = $1;
|
||||
} elsif ($deviceid =~ /(..)(..)(..)/ ) {
|
||||
} elsif ($deviceid =~ /^(..)(..)(..)$/) {
|
||||
$id1 = $1;
|
||||
$id2 = $2;
|
||||
$id3 = $3;
|
||||
|
Loading…
x
Reference in New Issue
Block a user