2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-07 12:58:13 +00:00

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 5765f45d4e
commit 8dfa2fbc72

View File

@ -236,7 +236,7 @@ structure_Notify($$)
my $devstate; my $devstate;
foreach my $d (sort keys %{ $hash->{".memberHash"} }) { foreach my $d (sort keys %{ $hash->{".memberHash"} }) {
next if(!$defs{$d}); next if(!$defs{$d} || IsDisabled($d));
if($attr{$d} && $attr{$d}{$devmap}) { if($attr{$d} && $attr{$d}{$devmap}) {
my @gruppe = attrSplit($attr{$d}{$devmap}); my @gruppe = attrSplit($attr{$d}{$devmap});