mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 13:47:35 +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._unsub_interval()
|
||||||
|
|
||||||
self._stop_interval = self._hass.bus.async_listen(
|
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
|
@callback
|
||||||
|
Loading…
x
Reference in New Issue
Block a user