You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does the device work using the Home Assistant Tuya Cloud component?
Is this device connected to another local integration, including Home Assistant and any other tools?
The devices are within the same HA subnet, and they get discovered automatically when I add them
What happened?
Warnings in log. Everything seems to work fine
Steps to reproduce.
Nothing
Relevant log output
2024-06-06 16:21:37.346 WARNING (SyncWorker_52) [homeassistant.helpers.frame] Detected that custom integration 'localtuya' calls async_dispatcher_send 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_dispatcher_send at custom_components/localtuya/coordinator.py, line 446: async_dispatcher_send(self._hass, signal, None), please report it to the author of the 'localtuya' custom integration
2024-06-06 16:21:37.350 ERROR (MainThread) [homeassistant] Error doing job: Future exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/localtuya/coordinator.py", line 446, in _shutdown_entities
async_dispatcher_send(self._hass, signal, None)
File "/usr/src/homeassistant/homeassistant/helpers/dispatcher.py", line 214, in async_dispatcher_send
hass.verify_event_loop_thread("async_dispatcher_send")
File "/usr/src/homeassistant/homeassistant/core.py", line 447, in verify_event_loop_thread
frame.report(
File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 159, in report
_report_integration(what, integration_frame, level, error_if_integration)
File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 197, in _report_integration
raise RuntimeError(
RuntimeError: Detected that custom integration 'localtuya' calls async_dispatcher_send 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_dispatcher_send at custom_components/localtuya/coordinator.py, line 446: async_dispatcher_send(self._hass, signal, None). Please report it to the author of the 'localtuya' custom integration.
Diagnostics information.
No response
The text was updated successfully, but these errors were encountered:
LocalTuya Version
2024.5.0 and Master
Home Assistant Version
2024.6.0
Environment
What happened?
Warnings in log. Everything seems to work fine
Steps to reproduce.
Nothing
Relevant log output
Diagnostics information.
No response
The text was updated successfully, but these errors were encountered: