LAB02-Research / HASS.Agent

Windows-based client for Home Assistant. Provides notifications, quick actions, commands, sensors and more.
https://hassagent.lab02-research.org
MIT License
1.47k stars 65 forks source link

Bug: RuntimeError #413

Open FKU57 opened 3 weeks ago

FKU57 commented 3 weeks ago

Home Assistant now gives the next error:

RuntimeError: Detected that custom integration 'hass_agent' 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/hass_agent/init.py, line 147: hass.async_create_task(handle_apis_changed(hass, entry, apis)). Please report it to the author of the 'hass_agent' custom integration.

I can't find the cause of this error, but it seems to be serious.

Coreversion: 2024.6.1 Supervisor: 2024.06.0 Operating System: 12.3 Frontend: 20240605.0 Hass.Agent: 2022.14.0

ggonmar commented 3 weeks ago

I'm getting the same error message!