Fixes for bugs reported by Martin
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@553 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -48,7 +48,9 @@ structure_Define($$)
|
||||
|
||||
my %list;
|
||||
foreach my $a (@a) {
|
||||
$list{$a} = 1;
|
||||
foreach my $d (devspec2array($a)) {
|
||||
$list{$d} = 1;
|
||||
}
|
||||
}
|
||||
$hash->{CONTENT} = \%list;
|
||||
$hash->{STATE} = join(" ", sort(keys %{$hash->{CONTENT}}));
|
||||
|
||||
Reference in New Issue
Block a user