diff --git a/modules/default/weather/current.njk b/modules/default/weather/current.njk index b5e4a04f..f578ba2b 100644 --- a/modules/default/weather/current.njk +++ b/modules/default/weather/current.njk @@ -27,6 +27,9 @@ {% endif %} + {% if config.showHumidity and current.humidity %} + {{ current.humidity }}  + {% endif %} {% if current.nextSunAction() == "sunset" %} diff --git a/modules/default/weather/weatherobject.js b/modules/default/weather/weatherobject.js index 4ccc4bac..59d2298a 100644 --- a/modules/default/weather/weatherobject.js +++ b/modules/default/weather/weatherobject.js @@ -20,9 +20,10 @@ class WeatherObject { this.sunrise = null this.sunset = null this.temperature = null - this.minTemperature = null, - this.maxTemperature = null, + this.minTemperature = null + this.maxTemperature = null this.weatherType = null + this.humidity = null } cardinalWindDirection () {