mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Fix Non-thread-safe operation in zwave node_added (#62287)
This commit is contained in:
parent
99d1e015ad
commit
b05149fc28
@ -493,7 +493,7 @@ async def async_setup_entry( # noqa: C901
|
||||
await platform.async_add_entities([entity])
|
||||
|
||||
if entity.unique_id:
|
||||
hass.async_add_job(_add_node_to_component())
|
||||
hass.create_task(_add_node_to_component())
|
||||
return
|
||||
|
||||
@callback
|
||||
|
Loading…
x
Reference in New Issue
Block a user