Merge branch 'develop' into Issue-TranslateEncodedHtml

This commit is contained in:
Michael Teeuw
2021-01-21 15:10:14 +01:00
committed by GitHub
18 changed files with 358 additions and 217 deletions

View File

@@ -154,6 +154,10 @@ Module.register("weather", {
Log.log("New weather information available.");
this.updateDom(0);
this.scheduleUpdate();
if (this.weatherProvider.currentWeather()) {
this.sendNotification("CURRENTWEATHER_TYPE", { type: this.weatherProvider.currentWeather().weatherType.replace("-", "_") });
}
},
scheduleUpdate: function (delay = null) {