mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 08:47:57 +00:00
Run august stop listener with run_immediately (#113729)
There is no need for a call_soon here
This commit is contained in:
parent
8a144d16f5
commit
264e023ab4
@ -66,7 +66,9 @@ class AugustSubscriberMixin:
|
||||
self._unsub_interval()
|
||||
|
||||
self._stop_interval = self._hass.bus.async_listen(
|
||||
EVENT_HOMEASSISTANT_STOP, _async_cancel_update_interval
|
||||
EVENT_HOMEASSISTANT_STOP,
|
||||
_async_cancel_update_interval,
|
||||
run_immediately=True,
|
||||
)
|
||||
|
||||
@callback
|
||||
|
Loading…
x
Reference in New Issue
Block a user