From 9348ae90ffb19d79883b6a78f656cd2ce1a4e5c1 Mon Sep 17 00:00:00 2001 From: vppencilsharpener Date: Thu, 11 Jan 2024 13:58:27 -0500 Subject: [PATCH] Update weather.js Fix for issue #3345 --- modules/default/weather/weather.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/default/weather/weather.js b/modules/default/weather/weather.js index 15e6cfc51b..4e761082a3 100644 --- a/modules/default/weather/weather.js +++ b/modules/default/weather/weather.js @@ -235,7 +235,7 @@ Module.register("weather", { } } } else if (type === "precip") { - if (value === null || isNaN(value) || value === 0 || value.toFixed(2) === "0.00") { + if (value === null || isNaN(value)) { formattedValue = ""; } else { formattedValue = WeatherUtils.convertPrecipitationUnit(value, valueUnit, this.config.units);