Ensure HKC debounced availability poll does not block startup (#113130)
This commit is contained in:
parent
c948392ebc
commit
0f414d8ac5
1 changed files with 1 additions and 0 deletions
|
@ -145,6 +145,7 @@ class HKDevice:
|
||||||
cooldown=DEBOUNCE_COOLDOWN,
|
cooldown=DEBOUNCE_COOLDOWN,
|
||||||
immediate=False,
|
immediate=False,
|
||||||
function=self.async_update,
|
function=self.async_update,
|
||||||
|
background=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
self._availability_callbacks: set[CALLBACK_TYPE] = set()
|
self._availability_callbacks: set[CALLBACK_TYPE] = set()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue