diff --git a/docs/asyncio_thread_safety.md b/docs/asyncio_thread_safety.md index abe4ed93..59efa6e6 100644 --- a/docs/asyncio_thread_safety.md +++ b/docs/asyncio_thread_safety.md @@ -66,4 +66,8 @@ When removing a services from a thread other than the event loop thread, instead #### async_write_ha_state -When writing the state of an entity from a thread other than the event loop thread, instead use `self.schedule_update_ha_state` \ No newline at end of file +When writing the state of an entity from a thread other than the event loop thread, instead use `self.schedule_update_ha_state` + +#### hass.config_entries.async_update_entry + +Updating config entry must be done in the event loop thread. There is no sync API to update config entries. If it is not a mistake that the calling function is running in another thread, use `hass.add_job` to schedule a function in the event loop that calls `hass.config_entries.async_update_entry`. \ No newline at end of file