diff --git a/CHANGELOG.md b/CHANGELOG.md
index d1b8077b17..ec8349ac34 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -20,6 +20,8 @@ planned for 2025-04-01
- Mark option `secondsColor` as deprecated in clock module.
- Add Greek translation to Alerts module.
- [newsfeed] Add specific ignoreOlderThan value (override) per feed (#3360)
+- [weather] Added option Humidity to hourly View
+- [weather] Added option to hide hourly entries that are Zero, hiding the entire column if empty.
### Changed
@@ -50,6 +52,7 @@ planned for 2025-04-01
- [calendar] Fix NewYork event processed on system in Central timezone shows wrong time #3701
- [weather/yr] The Yr weather provider is now able to recover from bad API responses instead of freezing (#3296)
- [compliments] Fix evening events being shown during the day (#3727)
+- [weather] Fixed minor spacing issues when using UV Index in Hourly
- [workflow] Fix command to run spellcheck
## [2.30.0] - 2025-01-01
diff --git a/modules/default/weather/hourly.njk b/modules/default/weather/hourly.njk
index 0e464f77e6..4223390b30 100644
--- a/modules/default/weather/hourly.njk
+++ b/modules/default/weather/hourly.njk
@@ -21,15 +21,25 @@
{% endif %}
{% endif %}
+ {% if config.showHumidity != "none" %}
+
+ {{ hour.humidity }}
+
+ |
+ {% endif %}
{% if config.showPrecipitationAmount %}
-
- {{ hour.precipitationAmount | unit("precip", hour.precipitationUnits) }}
- |
+ {% if (not config.hideZeroes or hour.precipitationAmount>0) %}
+
+ {{ hour.precipitationAmount | unit("precip", hour.precipitationUnits) }}
+ |
+ {% endif %}
{% endif %}
{% if config.showPrecipitationProbability %}
+ {% if (not config.hideZeroes or hour.precipitationAmount>0) %}
- {{ hour.precipitationProbability | unit('precip', '%') }}
+ {{ hour.precipitationProbability | unit('precip', '%') }}
|
+ {% endif %}
{% endif %}
{% set currentStep = currentStep + 1 %}
diff --git a/modules/default/weather/weather.css b/modules/default/weather/weather.css
index 816f0a9b74..4618be9f94 100644
--- a/modules/default/weather/weather.css
+++ b/modules/default/weather/weather.css
@@ -31,6 +31,7 @@
.weather .precipitation-amount,
.weather .precipitation-prob,
+.weather .humidity-hourly,
.weather .uv-index {
padding-left: 20px;
padding-right: 0;
diff --git a/modules/default/weather/weather.js b/modules/default/weather/weather.js
index 369a720101..448a905cf9 100644
--- a/modules/default/weather/weather.js
+++ b/modules/default/weather/weather.js
@@ -14,7 +14,8 @@ Module.register("weather", {
updateInterval: 10 * 60 * 1000, // every 10 minutes
animationSpeed: 1000,
showFeelsLike: true,
- showHumidity: "none", // this is now a string; see current.njk
+ showHumidity: "none", // possible options for "current" weather are "none", "wind", "temp", "feelslike" or "below", for "hourly" weather "none" or "true"
+ hideZeroes: false, // hide zeroes (and empty columns) in hourly, currently only for precipitation
showIndoorHumidity: false,
showIndoorTemperature: false,
allowOverrideNotification: false,