mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-10 08:04:00 +00:00
09_CUL_FHTTK.pm: removed check within definition
git-svn-id: https://svn.fhem.de/fhem/trunk@7483 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
a7f0b3c6fb
commit
63db797091
@ -223,14 +223,6 @@ CUL_FHTTK_Define($$)
|
||||
if($sensor !~ /^[0-9a-f]{6}$/) {
|
||||
return "wrong sensor specification $sensor, need a 6 digit hex number!";
|
||||
}
|
||||
|
||||
# check address of FHT TF at definition step
|
||||
my $myaddr = hex($sensor);
|
||||
my $boundary = hex(690000);
|
||||
|
||||
if($myaddr < $boundary) {
|
||||
return "wrong sensor specification $sensor, the fist two digits must be equal or greater than 0x69!";
|
||||
}
|
||||
|
||||
$hash->{CODE} = $sensor;
|
||||
$modules{CUL_FHTTK}{defptr}{$sensor} = $hash;
|
||||
|
Loading…
x
Reference in New Issue
Block a user