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:
rudolfkoenig
2019-01-08 18:34:06 +00:00
parent 47f2761422
commit 04a401a92b

View File

@@ -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});