Skip to content

Commit 1482f8d

Browse files
authored
Merge pull request #1334 from custom-components/async-add-job
remove async_add_job
2 parents 25ced1f + 394ec5a commit 1482f8d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

custom_components/ble_monitor/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ async def service_parse_data(service_call):
176176

177177
_LOGGER.debug("Initializing BLE Monitor integration (YAML): %s", CONFIG_YAML)
178178

179-
hass.async_add_job(
179+
hass.async_create_task(
180180
hass.config_entries.flow.async_init(
181181
DOMAIN, context={"source": SOURCE_IMPORT}, data=copy.deepcopy(CONFIG_YAML)
182182
)

custom_components/ble_monitor/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
"btsocket>=0.2.0",
1515
"pyric>=0.1.6.3"
1616
],
17-
"version": "12.10.2"
17+
"version": "12.10.3"
1818
}

0 commit comments

Comments
 (0)