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

Corruption warning on latest HA #11

Open
delete1234 opened this issue Oct 7, 2024 · 3 comments
Open

Corruption warning on latest HA #11

delete1234 opened this issue Oct 7, 2024 · 3 comments

Comments

@delete1234
Copy link

Detected that custom integration 'norwegiantide' 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/norwegiantide/init.py, line 132: entity.async_schedule_update_ha_state(True), please report it to the author of the 'norwegiantide' custom integration

@tmjo
Copy link
Owner

tmjo commented Oct 8, 2024

Hi, I am aware but haven't had time to fix it yet. It is still working just fine, at least on my side, but of course this should be fixed (hopefully in not too long).

@delete1234
Copy link
Author

Thanks. I had to to disable it as it was causing random reboots on my HA. Looking forward to an update, really nice with tide info on my weather card. Appreciate the work 👏

@tmjo
Copy link
Owner

tmjo commented Oct 8, 2024

Hmm, right. That's not good. What's your hardware platform (RPi, NUC or similar)? Mine is a powerful NUC, so could be the reason it is coping better. I see the logs have been flooded with these messages. Perhaps a temporary fix for you could be to limit/remove the logging of data (assuming the hardware is strangled by the information overflow)?

Anyway, I must find a fix for it soon. I'm sure it isn't too complicated, but it takes some time to get everything up to new standards and my time is limited.

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

2 participants