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:
@@ -363,7 +363,7 @@ structure_Set($@)
|
|||||||
|
|
||||||
my $filter;
|
my $filter;
|
||||||
if($list[1] ne "?") {
|
if($list[1] ne "?") {
|
||||||
$hash->{STATE} = join(" ", @list[1..@list-1]);
|
readingsSingleUpdate($hash, "state", @list[1..@list-1], 1);
|
||||||
|
|
||||||
if( $hash->{STATE} =~ /^\[(FILTER=.*)]/ ) {
|
if( $hash->{STATE} =~ /^\[(FILTER=.*)]/ ) {
|
||||||
delete($hash->{INSET}); # Experimental, Forum #35382
|
delete($hash->{INSET}); # Experimental, Forum #35382
|
||||||
|
|||||||
Reference in New Issue
Block a user