2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

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 b089c4bc34
commit bbeb778e31

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