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
a9ad1614d3
commit
fe75dae419
@ -74,4 +74,8 @@ Updating config entry must be done in the event loop thread. There is no sync AP
|
||||
|
||||
#### async_dispatcher_send
|
||||
|
||||
When calling the dispatcher from a thread other than the event loop thread, instead use `dispatcher_send`.
|
||||
When calling the dispatcher from a thread other than the event loop thread, instead use `dispatcher_send`.
|
||||
|
||||
#### 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`.
|
||||
|
Loading…
x
Reference in New Issue
Block a user