2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

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

git-svn-id: https://svn.fhem.de/fhem/trunk@10382 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2016-01-06 16:21:13 +00:00
parent 62bc225e9b
commit f1b89fee45

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