mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 17:57:11 +00:00
Small speed up to Bluetooth setup (#111677)
This commit is contained in:
parent
6abb8ae273
commit
3c25e2a4bd
@ -208,13 +208,15 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
|
|||||||
integration_matcher = IntegrationMatcher(await async_get_bluetooth(hass))
|
integration_matcher = IntegrationMatcher(await async_get_bluetooth(hass))
|
||||||
|
|
||||||
slot_manager_setup_task = hass.async_create_task(
|
slot_manager_setup_task = hass.async_create_task(
|
||||||
slot_manager.async_setup(), "slot_manager setup"
|
slot_manager.async_setup(), "slot_manager setup", eager_start=True
|
||||||
)
|
)
|
||||||
processor_setup_task = hass.async_create_task(
|
processor_setup_task = hass.async_create_task(
|
||||||
passive_update_processor.async_setup(hass), "passive_update_processor setup"
|
passive_update_processor.async_setup(hass),
|
||||||
|
"passive_update_processor setup",
|
||||||
|
eager_start=True,
|
||||||
)
|
)
|
||||||
storage_setup_task = hass.async_create_task(
|
storage_setup_task = hass.async_create_task(
|
||||||
bluetooth_storage.async_setup(), "bluetooth storage setup"
|
bluetooth_storage.async_setup(), "bluetooth storage setup", eager_start=True
|
||||||
)
|
)
|
||||||
integration_matcher.async_setup()
|
integration_matcher.async_setup()
|
||||||
manager = HomeAssistantBluetoothManager(
|
manager = HomeAssistantBluetoothManager(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user