From 1e663bc6e6799d4ba73b9d0920d2bb086f575833 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 14 May 2024 12:18:35 +0900 Subject: [PATCH] more docs --- docs/asyncio_thread_safety.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/docs/asyncio_thread_safety.md b/docs/asyncio_thread_safety.md index 529c05bc..8be1aa7d 100644 --- a/docs/asyncio_thread_safety.md +++ b/docs/asyncio_thread_safety.md @@ -103,3 +103,23 @@ The category registry must be modified in the event loop thread. There is no syn #### category_registry.async_update The category registry must be modified in the event loop thread. There is no sync API for the category registry. Use `hass.add_job` to schedule a function in the event loop that calls `category_registry.async_update`. + +#### device_registry.async_update_device + +The device registry must be modified in the event loop thread. There is no sync API for the device registry. Use `hass.add_job` to schedule a function in the event loop that calls `device_registry.async_update_device`. + +#### device_registry.async_remove_device + +The device registry must be modified in the event loop thread. There is no sync API for the device registry. Use `hass.add_job` to schedule a function in the event loop that calls `device_registry.async_remove_device`. + +#### entity_registry.async_get_or_create + +The entity registry must be modified in the event loop thread. There is no sync API for the entity registry. Use `hass.add_job` to schedule a function in the event loop that calls `entity_registry.async_get_or_create`. + +#### entity_registry.async_remove + +The entity registry must be modified in the event loop thread. There is no sync API for the entity registry. Use `hass.add_job` to schedule a function in the event loop that calls `entity_registry.async_remove`. + +#### entity_registry.async_update_entity + +The entity registry must be modified in the event loop thread. There is no sync API for the entity registry. Use `hass.add_job` to schedule a function in the event loop that calls `entity_registry.async_update_entity`.