mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Make august activity update a background task (#112652)
This commit is contained in:
parent
643e6096da
commit
4c2a54746d
@ -79,6 +79,7 @@ class ActivityStream(AugustSubscriberMixin):
|
|||||||
cooldown=ACTIVITY_DEBOUNCE_COOLDOWN,
|
cooldown=ACTIVITY_DEBOUNCE_COOLDOWN,
|
||||||
immediate=True,
|
immediate=True,
|
||||||
function=partial(self._async_update_house_id, house_id),
|
function=partial(self._async_update_house_id, house_id),
|
||||||
|
background=True,
|
||||||
)
|
)
|
||||||
update_debounce[house_id] = debouncer
|
update_debounce[house_id] = debouncer
|
||||||
update_debounce_jobs[house_id] = HassJob(
|
update_debounce_jobs[house_id] = HassJob(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user