From e11d0c0c27e320d4a77ea738ab8fde6d81899a8e Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 14 May 2024 09:56:00 +0900 Subject: [PATCH] add core --- docs/asyncio_thread_safety.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/asyncio_thread_safety.md b/docs/asyncio_thread_safety.md index ed5f1c50..c1c04550 100644 --- a/docs/asyncio_thread_safety.md +++ b/docs/asyncio_thread_safety.md @@ -14,4 +14,16 @@ You may have reached this page because Home Assistant detected and reported a th ### hass.async_create_task -`hass.async_create_task` should only be called from the event loop thread. When creating a task from another thread, instead use `hass.create_task` \ No newline at end of file +When creating a task from a thread other than the event loop thread, instead use `hass.create_task` + +### hass.bus.async_fire + +When firing an event from a thread other than the event loop thread, instead use `hass.bus.fire` + +### hass.services.async_register + +When registering a services from a thread other than the event loop thread, instead use `hass.services.register` + +### hass.services.async_remove + +When registering a services from a thread other than the event loop thread, instead use `hass.services.remove` \ No newline at end of file