Run coordinator shutdown eagerly (#113174)
This commit is contained in:
parent
9f19e7339d
commit
8bc3286343
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ class DataUpdateCoordinator(BaseDataUpdateCoordinatorProtocol, Generic[_DataT]):
|
|||
await self.async_shutdown()
|
||||
|
||||
self._unsub_shutdown = self.hass.bus.async_listen_once(
|
||||
EVENT_HOMEASSISTANT_STOP, _on_hass_stop
|
||||
EVENT_HOMEASSISTANT_STOP, _on_hass_stop, run_immediately=True
|
||||
)
|
||||
|
||||
@callback
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue