55_GDS.pm: minor improvement

git-svn-id: https://svn.fhem.de/fhem/trunk@7660 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen
2015-01-22 12:25:03 +00:00
parent f6dd55f36a
commit 0c14f32b37

View File

@@ -203,6 +203,7 @@ sub GDS_Set($@) {
when("conditions"){
readingsSingleUpdate($hash, "state", "active",1);
retrieveConditions($hash, "c", @a);
$attr{$name}{gdsSetCond} = ReadingsVal($name,'c_stationName',undef);
$next = gettimeofday()+$hash->{helper}{INTERVAL};
readingsSingleUpdate($hash, "c_nextUpdate", localtime($next), 1);
RemoveInternalTimer($hash);