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:
rudolfkoenig
2010-01-20 08:47:08 +00:00
parent aad2abb596
commit 39ca7054ff
2 changed files with 13 additions and 12 deletions

View File

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