mirror of
https://github.com/home-assistant/core.git
synced 2025-07-10 06:47:09 +00:00
Reduce latency to populate initial HKC bluetooth device state (#113103)
This commit is contained in:
parent
2061cedadb
commit
281e3922a8
@ -285,6 +285,7 @@ class HKDevice:
|
|||||||
self.hass.bus.async_listen(
|
self.hass.bus.async_listen(
|
||||||
EVENT_HOMEASSISTANT_STARTED,
|
EVENT_HOMEASSISTANT_STARTED,
|
||||||
self._async_populate_ble_accessory_state,
|
self._async_populate_ble_accessory_state,
|
||||||
|
run_immediately=True,
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user