Skip to content

Commit 584b667

Browse files
committed
Correction for max_age default value
1 parent bf46171 commit 584b667

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/emhass/forecast.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ def __init__(
216216

217217
def get_cached_open_meteo_forecast_json(
218218
self,
219-
max_age: Optional[int] = 60,
219+
max_age: Optional[int] = 30,
220220
) -> str:
221221
r"""
222222
Get weather forecast json from Open-Meteo and cache it for re-use.

0 commit comments

Comments
 (0)