2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

98_structure.pm: ignore inactive STATE/state (Forum #105048)

git-svn-id: https://svn.fhem.de/fhem/trunk@20453 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2019-11-04 12:25:04 +00:00
parent 99a57277ae
commit e39ac6264d

View File

@ -391,7 +391,7 @@ structure_Set($@)
# see Forum # 28623 for .cachedHelp # see Forum # 28623 for .cachedHelp
if(@list > 1 && $list[1] eq "?") { if(@list > 1 && $list[1] eq "?") {
return $hash->{".cachedHelp"} if($hash->{".cachedHelp"}); return $hash->{".cachedHelp"} if($hash->{".cachedHelp"});
} elsif(IsDisabled($me)) { } elsif(IsDisabled($me) =~ m/1|2/) {
return undef; return undef;
} }