Fix tests

This commit is contained in:
rejas 2021-01-15 23:12:44 +01:00
parent fcc7e80bf9
commit 42cac81953

View File

@ -152,9 +152,9 @@ Module.register("weather", {
// What to do when the weather provider has new information available? // What to do when the weather provider has new information available?
updateAvailable: function () { updateAvailable: function () {
Log.log("New weather information available."); Log.log("New weather information available.");
this.sendNotification("CURRENTWEATHER_TYPE", { type: this.weatherProvider.currentWeather().weatherType.replace("-", "_") });
this.updateDom(0); this.updateDom(0);
this.scheduleUpdate(); this.scheduleUpdate();
this.sendNotification("CURRENTWEATHER_TYPE", { type: this.weatherProvider.currentWeather().weatherType.replace("-", "_") });
}, },
scheduleUpdate: function (delay = null) { scheduleUpdate: function (delay = null) {