mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-29 12:16:30 +00:00
Add asyncio thread safety docs
This commit is contained in:
parent
aea468c8aa
commit
ed0f641c38
@ -10,7 +10,7 @@ Be sure to enable [`asyncio` debug mode](https://docs.python.org/3/library/async
|
||||
|
||||
## Solving thread safety errors
|
||||
|
||||
You may have reached this page because Home Assistant detected and reported a thread safety error. Beginning in version 2024.5.0, Home Assistant can detect, report, and block some non-threaded operations to prevent system instability. Before the Home Assistant could detect these errors, they may have led to unexpected restarts or undefined behaviors, as they can corrupt the internal asyncio state. Below are some tips on how to correct non-threaded operations.
|
||||
You may have reached this page because Home Assistant detected and reported a thread safety error. Beginning in version 2024.5.0, Home Assistant can detect, report, and block some non-threaded operations to prevent system instability. Before Home Assistant could detect these errors, they may have led to unexpected restarts or undefined behaviors, as they can corrupt the internal asyncio state. Below are some tips on how to correct non-threaded operations.
|
||||
|
||||
### hass.async_create_task
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user