From 264e023ab4c3bdc4d55885701cb8dc8739272ae3 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 18 Mar 2024 02:07:00 -1000 Subject: [PATCH] Run august stop listener with run_immediately (#113729) There is no need for a call_soon here --- homeassistant/components/august/subscriber.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/august/subscriber.py b/homeassistant/components/august/subscriber.py index 2ba1454a114..e800b5cb604 100644 --- a/homeassistant/components/august/subscriber.py +++ b/homeassistant/components/august/subscriber.py @@ -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