mirror of
https://github.com/home-assistant/core.git
synced 2025-08-07 04:28:19 +00:00
Fix Non-thread-safe operation in zwave node_added (#62287)
This commit is contained in:
parent
3fde6bfd73
commit
c1d0fe9eae
@ -490,7 +490,7 @@ async def async_setup_entry(hass, config_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