deactiveted fixed

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4447 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
damian-s 2013-12-23 09:36:44 +00:00
parent a709de5b58
commit 6a7b135176

View File

@ -297,7 +297,7 @@ THRESHOLD_Set($@)
$state_format =~ s/\_s2s//g; $state_format =~ s/\_s2s//g;
$state_format =~ s/\_sc//g; $state_format =~ s/\_sc//g;
readingsBulkUpdate ($hash, "state", $state_format) if ($state_format); readingsBulkUpdate ($hash, "state", $state_format) if ($state_format);
readingsBulkUpdate ($hash, "mode", "deactiveted"); readingsBulkUpdate ($hash, "mode", "deactivated");
readingsEndUpdate ($hash, 1); readingsEndUpdate ($hash, 1);
} }
} elsif ($arg eq "active" ) { } elsif ($arg eq "active" ) {