Enable eager_start for weather platform update (#115496)

This commit is contained in:
J. Nick Koston 2024-04-13 10:56:14 -10:00 committed by GitHub
parent 0bd4064212
commit d9617a8e3a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,)), eager_start=False
self.hass, self.async_update_listeners((forecast_type,))
)
@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), eager_start=False
self.hass, self.async_update_listeners(None)
)