From a9ad1614d343416e543ce4838f5854c6b4a7ca1c Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 14 May 2024 12:06:46 +0900 Subject: [PATCH] more docs --- docs/asyncio_thread_safety.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/asyncio_thread_safety.md b/docs/asyncio_thread_safety.md index 59efa6e6..b07bb754 100644 --- a/docs/asyncio_thread_safety.md +++ b/docs/asyncio_thread_safety.md @@ -70,4 +70,8 @@ When writing the state of an entity from a thread other than the event loop thre #### 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 +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`. + +#### async_dispatcher_send + +When calling the dispatcher from a thread other than the event loop thread, instead use `dispatcher_send`. \ No newline at end of file