98_structure.pm: set state (Forum #46868)

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@10382 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2016-01-06 16:21:13 +00:00
parent bb065f0832
commit 241aa85ef4

View File

@@ -363,7 +363,7 @@ structure_Set($@)
my $filter;
if($list[1] ne "?") {
$hash->{STATE} = join(" ", @list[1..@list-1]);
readingsSingleUpdate($hash, "state", @list[1..@list-1], 1);
if( $hash->{STATE} =~ /^\[(FILTER=.*)]/ ) {
delete($hash->{INSET}); # Experimental, Forum #35382