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

calls async_write_ha_state from a thread other than the event loop on HA 2024.10.1 #33

Open
Amir-Yu opened this issue Oct 6, 2024 · 1 comment

Comments

@Amir-Yu
Copy link

Amir-Yu commented Oct 6, 2024

it seems like this problem has repapered on this integration.
getting this error on my log:
Detected that custom integration 'ekon-local' calls async_write_ha_state 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/#async_write_ha_state at custom_components/ekon-local/climate.py, line 209: asyncio.run_coroutine_threadsafe(self._devices[0].async_schedule_update_ha_state(), self.hass.loop). Please report it to the author of the 'ekon-local' custom integration.

@SIlver--
Copy link

I had downgraded to 2024.9.3 to avoid this problem and just upgraded to latest 2024.11.2 and am no longer having this issue. It must have been a homeassistant problem

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