diff --git a/modules/default/weather/providers/openweathermap.js b/modules/default/weather/providers/openweathermap.js index 53eca7df..f5d931c5 100644 --- a/modules/default/weather/providers/openweathermap.js +++ b/modules/default/weather/providers/openweathermap.js @@ -185,7 +185,7 @@ WeatherProvider.register("openweathermap", { if (forecast.hasOwnProperty("rain")) { if (this.config.units === "imperial" && !isNaN(forecast.rain)) { weather.rain = forecast.rain / 25.4; - } else if (!isNaN(forecast.rain["3h"])){ + } else if (!isNaN(forecast.rain)){ weather.rain = forecast.rain; } else { weather.rain = 0;