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
2024-12-20 22:42:15.037 ERROR (SyncWorker_10) [homeassistant.util.logging] Exception in _new_entity_handler when dispatching 'localtuya_entity_eb07899373d1128bb9abtc': ('light.lampada_escritorio',)
Traceback (most recent call last):
File "/config/custom_components/localtuya/common.py", line 263, in _new_entity_handler
self._dispatch_status()
~~~~~~~~~~~~~~~~~~~~~^^
File "/config/custom_components/localtuya/common.py", line 351, in _dispatch_status
async_dispatcher_send(self._hass, signal, self._status)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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 474, in verify_event_loop_thread
frame.report_non_thread_safe_operation(what)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 368, in report_non_thread_safe_operation
report(
~~~~~~^
f"calls {what} from a thread other than the event loop, "
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<5 lines>...
error_if_integration=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 164, in report
report_usage(
~~~~~~~~~~~~^
what,
^^^^^
...<4 lines>...
level=level,
^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 242, in report_usage
_report_integration_frame(
~~~~~~~~~~~~~~~~~~~~~~~~~^
what,
^^^^^
...<3 lines>...
integration_behavior is ReportBehavior.ERROR,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 340, in _report_integration_frame
raise RuntimeError(
...<5 lines>...
)
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/common.py, line 351: async_dispatcher_send(self._hass, signal, self._status). Please report it to the author of the 'localtuya' custom integration
Hey guys, it turns out this project is dead and no longer maintained. The solution I found was to remove this repo /devices and port it to this fork https://github.com/xZetsubou/hass-localtuya
v5.2.1
The text was updated successfully, but these errors were encountered: