mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-22 02:10:32 +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
@ -224,14 +224,6 @@ CUL_FHTTK_Define($$)
|
|||||||
return "wrong sensor specification $sensor, need a 6 digit hex number!";
|
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;
|
$hash->{CODE} = $sensor;
|
||||||
$modules{CUL_FHTTK}{defptr}{$sensor} = $hash;
|
$modules{CUL_FHTTK}{defptr}{$sensor} = $hash;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user