Enable selectlist again. Thanks to sweetie-pie
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@360 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -138,7 +138,12 @@ structure_Set($@)
|
||||
Log 1, "ERROR: endless loop detected for $d in " . $hash->{NAME};
|
||||
next;
|
||||
}
|
||||
next if($attr{$d} && $attr{$d}{structexclude});
|
||||
|
||||
if($attr{$d} && $attr{$d}{structexclude}) {
|
||||
my $se = $attr{$d}{structexclude};
|
||||
next if($hash->{NAME} =~ m/$se/);
|
||||
}
|
||||
|
||||
$list[0] = $d;
|
||||
my $sret .= CommandSet(undef, join(" ", @list));
|
||||
if($sret) {
|
||||
|
||||
Reference in New Issue
Block a user