55_GDS.pm: minor bugfix

git-svn-id: https://svn.fhem.de/fhem/trunk@10867 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen
2016-02-17 19:53:34 +00:00
parent 61a7e83bb1
commit d137dfbb65

View File

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