diff --git a/homeassistant/components/weather/__init__.py b/homeassistant/components/weather/__init__.py index 95655f439c9..aa4989de2fe 100644 --- a/homeassistant/components/weather/__init__.py +++ b/homeassistant/components/weather/__init__.py @@ -1163,7 +1163,7 @@ class CoordinatorWeatherEntity( assert coordinator.config_entry is not None getattr(self, f"_handle_{forecast_type}_forecast_coordinator_update")() coordinator.config_entry.async_create_task( - self.hass, self.async_update_listeners((forecast_type,)) + self.hass, self.async_update_listeners((forecast_type,)), eager_start=False ) @callback @@ -1273,5 +1273,5 @@ class SingleCoordinatorWeatherEntity( super()._handle_coordinator_update() assert self.coordinator.config_entry self.coordinator.config_entry.async_create_task( - self.hass, self.async_update_listeners(None) + self.hass, self.async_update_listeners(None), eager_start=False ) diff --git a/homeassistant/config_entries.py b/homeassistant/config_entries.py index 413637fd726..adbb99b9d3c 100644 --- a/homeassistant/config_entries.py +++ b/homeassistant/config_entries.py @@ -1056,7 +1056,7 @@ class ConfigEntry: hass: HomeAssistant, target: Coroutine[Any, Any, _R], name: str | None = None, - eager_start: bool = False, + eager_start: bool = True, ) -> asyncio.Task[_R]: """Create a task from within the event loop.