2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

changed: updating state instead of STATE

git-svn-id: https://svn.fhem.de/fhem/trunk@3760 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen 2013-08-21 14:37:12 +00:00
parent 733aac14bb
commit 00c391559a

View File

@ -129,7 +129,7 @@ sub GDS_Define($$$) {
} else {
Log3($name, 3, "GDS $name: No datafile (alerts) found");
}
$hash->{STATE} = "active";
readingsSingleUpdate($hash, "state", "active",1);
return undef;
}
@ -154,7 +154,6 @@ sub GDS_Set($@) {
my ($result, $next);
$hash->{LOCAL} = 1;
$hash->{STATE} = "active";
given($command) {
when("clear"){
@ -671,8 +670,6 @@ sub retrieveConditions($$@){
readingsBulkUpdate($hash, $k, latin1ToUtf8($v)) if(defined($v)); }
readingsEndUpdate($hash, 1);
$hash->{STATE} = "active";
return ;
}