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:
betateilchen
2015-01-22 12:25:03 +00:00
parent 6e1fac1971
commit 8abfb362e6

View File

@@ -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);