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:
parent
733aac14bb
commit
00c391559a
@ -129,7 +129,7 @@ sub GDS_Define($$$) {
|
|||||||
} else {
|
} else {
|
||||||
Log3($name, 3, "GDS $name: No datafile (alerts) found");
|
Log3($name, 3, "GDS $name: No datafile (alerts) found");
|
||||||
}
|
}
|
||||||
$hash->{STATE} = "active";
|
readingsSingleUpdate($hash, "state", "active",1);
|
||||||
|
|
||||||
return undef;
|
return undef;
|
||||||
}
|
}
|
||||||
@ -154,7 +154,6 @@ sub GDS_Set($@) {
|
|||||||
my ($result, $next);
|
my ($result, $next);
|
||||||
|
|
||||||
$hash->{LOCAL} = 1;
|
$hash->{LOCAL} = 1;
|
||||||
$hash->{STATE} = "active";
|
|
||||||
|
|
||||||
given($command) {
|
given($command) {
|
||||||
when("clear"){
|
when("clear"){
|
||||||
@ -671,8 +670,6 @@ sub retrieveConditions($$@){
|
|||||||
readingsBulkUpdate($hash, $k, latin1ToUtf8($v)) if(defined($v)); }
|
readingsBulkUpdate($hash, $k, latin1ToUtf8($v)) if(defined($v)); }
|
||||||
readingsEndUpdate($hash, 1);
|
readingsEndUpdate($hash, 1);
|
||||||
|
|
||||||
$hash->{STATE} = "active";
|
|
||||||
|
|
||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user