From 7ed76d3b317af3b32a960ce5241a6476f1e0e74b Mon Sep 17 00:00:00 2001 From: simon Date: Fri, 24 Apr 2026 10:36:59 +0200 Subject: [PATCH] modified: app.py --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 3552eae..c720438 100644 --- a/app.py +++ b/app.py @@ -545,7 +545,7 @@ def get_mosmix_forecast(lat, lon, hours=72): rprob = p.get("probability_precipitation_height_gt_0_1mm_last_1h") rain_prob = round(float(rprob)*100) if not _isnan(rprob) else None n = p.get("cloud_cover_total") - clouds = round(float(n)) if not _isnan(n) else None + clouds = round(float(n)*100) if not _isnan(n) else None sun = p.get("sunshine_duration") sun_min = round(float(sun)/60) if not _isnan(sun) else 0 wd = p.get("wind_direction")