55_GDS.pm: minor improvement
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@7660 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -203,6 +203,7 @@ sub GDS_Set($@) {
|
|||||||
when("conditions"){
|
when("conditions"){
|
||||||
readingsSingleUpdate($hash, "state", "active",1);
|
readingsSingleUpdate($hash, "state", "active",1);
|
||||||
retrieveConditions($hash, "c", @a);
|
retrieveConditions($hash, "c", @a);
|
||||||
|
$attr{$name}{gdsSetCond} = ReadingsVal($name,'c_stationName',undef);
|
||||||
$next = gettimeofday()+$hash->{helper}{INTERVAL};
|
$next = gettimeofday()+$hash->{helper}{INTERVAL};
|
||||||
readingsSingleUpdate($hash, "c_nextUpdate", localtime($next), 1);
|
readingsSingleUpdate($hash, "c_nextUpdate", localtime($next), 1);
|
||||||
RemoveInternalTimer($hash);
|
RemoveInternalTimer($hash);
|
||||||
|
|||||||
Reference in New Issue
Block a user