Skip to content

Commit

Permalink
First pass on init function
Browse files Browse the repository at this point in the history
  • Loading branch information
briis committed Sep 18, 2023
1 parent 18a6402 commit f09e105
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/weatherflow_forecast/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ class WeatherFlowForecastDataUpdateCoordinator(DataUpdateCoordinator["WeatherFlo
def __init__(self, hass: HomeAssistant, config_entry: ConfigEntry) -> None:
"""Initialize global Met data updater."""
self.weather = WeatherFlowForecastWeatherData(hass, config_entry.data)
self.weather.initialize_data()

update_interval = timedelta(minutes=randrange(55, 65))

Expand Down

0 comments on commit f09e105

Please sign in to comment.