From f5ebf31b0eec4ff3bcc53ab2f25bb07542a8e396 Mon Sep 17 00:00:00 2001 From: Jules Dejaeghere Date: Mon, 20 May 2024 10:17:53 +0200 Subject: [PATCH] Add default value to parameter --- custom_components/irm_kmi/weather.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/irm_kmi/weather.py b/custom_components/irm_kmi/weather.py index 2506362..46da146 100644 --- a/custom_components/irm_kmi/weather.py +++ b/custom_components/irm_kmi/weather.py @@ -151,7 +151,7 @@ class IrmKmiWeather(CoordinatorEntity, WeatherEntity): return [f for f in data if f.get('is_daytime')] - def get_forecasts_radar_service(self, include_past_forecasts: bool) -> List[Forecast] | None: + def get_forecasts_radar_service(self, include_past_forecasts: bool = False) -> List[Forecast] | None: """ Forecast service based on data from the radar. Only contains datetime and precipitation amount. The result always include the current 10 minutes interval, even if include_past_forecast is false.