mirror of
https://github.com/jdejaegh/irm-kmi-ha.git
synced 2025-06-27 11:39:26 +02:00
Add default value to parameter
This commit is contained in:
parent
911aa3a1c7
commit
f5ebf31b0e
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ class IrmKmiWeather(CoordinatorEntity, WeatherEntity):
|
||||||
|
|
||||||
return [f for f in data if f.get('is_daytime')]
|
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.
|
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.
|
The result always include the current 10 minutes interval, even if include_past_forecast is false.
|
||||||
|
|
Loading…
Add table
Reference in a new issue