2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-16 10:46:03 +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:
justme-1968 2015-04-22 15:22:22 +00:00
parent e575fa3900
commit 1a268141eb

View File

@ -113,7 +113,8 @@ readingsGroup_updateDevices($;$)
foreach my $d (sort keys %defs) {
next if( IsIgnored($d) );
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;
push @devices, [$d,$device[1]];
}