55_GDS.pm: minor bugfix

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@10867 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen
2016-02-17 19:53:34 +00:00
parent 857777a479
commit 1b03284870

View File

@@ -313,7 +313,7 @@ sub GDS_Define($$$) {
_GDS_addExtension("GDS_CGI","gds","GDS Files"); _GDS_addExtension("GDS_CGI","gds","GDS Files");
$hash->{firstrun} = 1; $hash->{firstrun} = 1;
retrieveData($hash,'conditions'); retrieveData($hash,'conditions') unless (time > 1457996400);
delete $hash->{firstrun}; delete $hash->{firstrun};
readingsSingleUpdate($hash, 'state', 'active',1); readingsSingleUpdate($hash, 'state', 'active',1);