98_structure.pm: ignore disabled devices when conputing the state (Forum #95526)
git-svn-id: https://svn.fhem.de/fhem/trunk@18182 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -236,7 +236,7 @@ structure_Notify($$)
|
||||
my $devstate;
|
||||
|
||||
foreach my $d (sort keys %{ $hash->{".memberHash"} }) {
|
||||
next if(!$defs{$d});
|
||||
next if(!$defs{$d} || IsDisabled($d));
|
||||
|
||||
if($attr{$d} && $attr{$d}{$devmap}) {
|
||||
my @gruppe = attrSplit($attr{$d}{$devmap});
|
||||
|
||||
Reference in New Issue
Block a user