mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-29 12:16:30 +00:00
add core
This commit is contained in:
parent
ed0f641c38
commit
e11d0c0c27
@ -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`
|
||||
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`
|
Loading…
x
Reference in New Issue
Block a user