diff --git a/modules/default/weatherforecast/weatherforecast.js b/modules/default/weatherforecast/weatherforecast.js index 3ff239ef..511d226f 100644 --- a/modules/default/weatherforecast/weatherforecast.js +++ b/modules/default/weatherforecast/weatherforecast.js @@ -103,7 +103,7 @@ Module.register("weatherforecast", { getDom: function () { var wrapper = document.createElement("div"); - if (this.config.appid === "") { + if (this.config.appid === "" || this.config.appid === "YOUR_OPENWEATHER_API_KEY") { wrapper.innerHTML = "Please set the correct openweather appid in the config for module: " + this.name + "."; wrapper.className = "dimmed light small"; return wrapper;