mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-29 12:16:30 +00:00
more docs
This commit is contained in:
parent
fe75dae419
commit
78d6aed623
@ -79,3 +79,15 @@ When calling the dispatcher from a thread other than the event loop thread, inst
|
||||
#### async_render_to_info
|
||||
|
||||
Templates must be rendered in the event loop thread. There is no sync API to render templates. Use `hass.add_job` to schedule a function in the event loop that calls `async_render_to_info`.
|
||||
|
||||
#### area_registry.async_create
|
||||
|
||||
The area registry must be modified in the event loop thread. There is no sync API for the area registry. Use `hass.add_job` to schedule a function in the event loop that calls `area_registry.async_create`.
|
||||
|
||||
#### area_registry.async_delete
|
||||
|
||||
The area registry must be modified in the event loop thread. There is no sync API for the area registry. Use `hass.add_job` to schedule a function in the event loop that calls `area_registry.async_delete`.
|
||||
|
||||
#### area_registry.async_update
|
||||
|
||||
The area registry must be modified in the event loop thread. There is no sync API for the area registry. Use `hass.add_job` to schedule a function in the event loop that calls `area_registry.async_update`.
|
Loading…
x
Reference in New Issue
Block a user