Skip to content

Commit

Permalink
Fixing #66
Browse files Browse the repository at this point in the history
  • Loading branch information
baerengraben authored and baerengraben committed Jan 21, 2022
1 parent 4899667 commit 3c5a65c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,9 @@ function setCurrentHour(self){
self.log.info(path + '.' + hour + '00.type' + ':' + 'This should not happen. State is undefined or null. So in this run no data is copied for this value');
}
});
resolve(currentHourVariables);
// Test für https://github.com/baerengraben/ioBroker.swiss-weather-api/issues/66
// Abwarten, bis alle getStates erledigt sind. 5s sollte reichen...
setTimeout(function() { resolve(currentHourVariables); }, 5000)
})
return promise;
}
Expand Down

0 comments on commit 3c5a65c

Please sign in to comment.