mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Fix bluetooth adapter discovery delaying startup and shutdown (#116335)
This commit is contained in:
parent
bf91ab6e2b
commit
6ccb165d8e
@ -152,6 +152,7 @@ async def _async_start_adapter_discovery(
|
|||||||
cooldown=BLUETOOTH_DISCOVERY_COOLDOWN_SECONDS,
|
cooldown=BLUETOOTH_DISCOVERY_COOLDOWN_SECONDS,
|
||||||
immediate=False,
|
immediate=False,
|
||||||
function=_async_rediscover_adapters,
|
function=_async_rediscover_adapters,
|
||||||
|
background=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
@hass_callback
|
@hass_callback
|
||||||
|
Loading…
x
Reference in New Issue
Block a user