From fc8ac63b2aeb7b8f49a2ef288ac7ebcca3897af5 Mon Sep 17 00:00:00 2001 From: baerengraben Date: Thu, 21 Oct 2021 00:11:25 +0200 Subject: [PATCH] https://github.com/baerengraben/ioBroker.swiss-weather-api/issues/51 --- main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.js b/main.js index 0707ed8..390bd08 100644 --- a/main.js +++ b/main.js @@ -909,12 +909,13 @@ function setCurrentHour(self){ }); } }) + resolve('resolved'); }) } async function addCurrentHourObjects() { //first do updateVariables() and wait until its finished - const result= await updateVariables() + const result= await updateVariables(); self.log.debug('...and now add current_hour objects.'); //*** Create current_hour object ***