10_DUOFERNSTICK: do not initialise ignored devices

git-svn-id: https://svn.fhem.de/fhem/trunk@12786 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
telekatz 2016-12-15 19:15:18 +00:00
parent cd3726bc25
commit 91d825e2f4

View File

@ -362,7 +362,9 @@ DUOFERNSTICK_DoInit($)
next if ($module ne "DUOFERN"); next if ($module ne "DUOFERN");
my $code = $defs{$d}{CODE}; my $code = $defs{$d}{CODE};
push(@pairs, $code) if(length($code) == 6); if(AttrVal($defs{$d}{NAME}, "ignore", "0") == "0") {
push(@pairs, $code) if(length($code) == 6);
}
} }
$hash->{helper}{cmdEx} = 0; $hash->{helper}{cmdEx} = 0;
@ -581,6 +583,8 @@ DUOFERNSTICK_AddSendQueue($$)
1; 1;
=pod =pod
=item summary IO device for Rademacher DuoFern devices
=item summary_DE IO device für Rademacher DuoFern Geräte
=begin html =begin html
<a name="DUOFERNSTICK"></a> <a name="DUOFERNSTICK"></a>