Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration crossing thread boundaries #158

Open
slungs opened this issue Jul 17, 2024 · 3 comments
Open

Integration crossing thread boundaries #158

slungs opened this issue Jul 17, 2024 · 3 comments

Comments

@slungs
Copy link

slungs commented Jul 17, 2024

This has caused multiple crashes to my system.

2024-07-17 18:25:13.029 WARNING (SyncWorker_40) [homeassistant.helpers.frame] Detected that custom integration 'edgeos' calls hass.async_create_task from a thread other than the event loop, which may cause Home Assistant to crash or data to corrupt. For more information, see https://developers.home-assistant.io/docs/asyncio_thread_safety/#hassasync_create_task at custom_components/edgeos/core/managers/home_assistant.py, line 77: self._hass.async_create_task(self.async_send_heartbeat()), please report it to the author of the 'edgeos' custom integration

@elad-bar
Copy link
Owner

Which version are you using?
error is from old code (more than 3 months)

Thanks

@EdgarBarranco
Copy link

Which version are you using? error is from old code (more than 3 months)

Thanks

Can you push a release bump so HACS picks it up? I want to upgrade too. Thanks!

@elad-bar
Copy link
Owner

It's not working like this, for all users it presented the new version, most likely something in your system prevented it (in hacs), pls check the logs and try to manually upgrade,
Just to explain, the mechanism of poping up the version is with hacs which scan the repositories, if your version is older then repo it should suggest, unless you have blocked it (intentionally or by mistake)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants