33_readingsGroup.pm: check for empty hash in IODev. see forum: https://forum.fhem.de/index.php/topic,14425.msg623033.html#msg623033
git-svn-id: https://svn.fhem.de/fhem/trunk@14038 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -118,7 +118,7 @@ readingsGroup_updateDevices($;$)
|
|||||||
next if( IsIgnored($d) );
|
next if( IsIgnored($d) );
|
||||||
next if( !defined($defs{$d}{$lattr}) );
|
next if( !defined($defs{$d}{$lattr}) );
|
||||||
next if( $lattr ne 'IODev' && $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$/);
|
next if( $lattr eq 'IODev' && $defs{$d}{$lattr}{NAME} && $defs{$d}{$lattr}{NAME} !~ m/^$re$/);
|
||||||
$list{$d} = 1;
|
$list{$d} = 1;
|
||||||
push @devices, [$d,$device[1]];
|
push @devices, [$d,$device[1]];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user