forked from home-assistant/core
Fix bluetooth adapter discovery delaying startup and shutdown (#116335)
This commit is contained in:
committed by
Paulus Schoutsen
parent
c3cb79e0e9
commit
c4c21bc8ea
@@ -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
|
||||||
|
Reference in New Issue
Block a user