Skip to content

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

@Amir-Yu

Description

@Amir-Yu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions