Skip to content

Commit 1d214ae

Browse files
authored
For the met integration Increase the hourly forecast limit to 48 hours in coordinator. (home-assistant#150486)
1 parent 68d987f commit 1d214ae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

homeassistant/components/met/coordinator.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@ async def fetch_data(self) -> Self:
8383
self.current_weather_data = self._weather_data.get_current_weather()
8484
time_zone = dt_util.get_default_time_zone()
8585
self.daily_forecast = self._weather_data.get_forecast(time_zone, False, 0)
86-
self.hourly_forecast = self._weather_data.get_forecast(time_zone, True)
86+
self.hourly_forecast = self._weather_data.get_forecast(
87+
time_zone, True, range_stop=49
88+
)
8789
return self
8890

8991

0 commit comments

Comments
 (0)