mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
33_readingsGroup.pm: allow filtering with internal IODev. see forum: http://forum.fhem.de/index.php/topic,14425.msg288276.html#msg288276
git-svn-id: https://svn.fhem.de/fhem/trunk@8462 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e575fa3900
commit
1a268141eb
@ -113,7 +113,8 @@ readingsGroup_updateDevices($;$)
|
|||||||
foreach my $d (sort keys %defs) {
|
foreach my $d (sort keys %defs) {
|
||||||
next if( IsIgnored($d) );
|
next if( IsIgnored($d) );
|
||||||
next if( !defined($defs{$d}{$lattr}) );
|
next if( !defined($defs{$d}{$lattr}) );
|
||||||
next if( $defs{$d}{$lattr} !~ m/^$re$/);
|
next if( $lattr ne 'IODev' && $defs{$d}{$lattr} !~ m/^$re$/);
|
||||||
|
next if( $lattr eq 'IODev' && $defs{$d}{$lattr}{NAME} !~ m/^$re$/);
|
||||||
$list{$d} = 1;
|
$list{$d} = 1;
|
||||||
push @devices, [$d,$device[1]];
|
push @devices, [$d,$device[1]];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user