Coder Social home page Coder Social logo

automation asyncio task is broken about core HOT 4 CLOSED

J4nM avatar J4nM commented on September 26, 2024
automation asyncio task is broken

from core.

Comments (4)

bdraco avatar bdraco commented on September 26, 2024

Please follow the instructions at https://community.home-assistant.io/t/2024-5-tracking-down-instability-issues-caused-by-integrations/724441 to find the integration causing the problem

from core.

J4nM avatar J4nM commented on September 26, 2024

It appears to be tellduslive and that makes sense since it's a Telldus door switch.

May 15 10:21:09 homeassistant hass[1659604]: 2024-05-15 10:21:09.238 WARNING (SyncWorker_8) [homeassistant.helpers.frame] Detected that integration 'tellduslive' calls async_write_ha_state from a thread at homeassistant/components/tellduslive/entry.py, line 53: self.async_write_ha_state(), please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+tellduslive%22
May 15 10:21:09 homeassistant hass[1659604]: 2024-05-15 10:21:09.238 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140646000053440] Unexpected exception
May 15 10:21:09 homeassistant hass[1659604]: Traceback (most recent call last):
May 15 10:21:09 homeassistant hass[1659604]:   File "/home/homeassistant/Envs/HA/lib/python3.12/site-packages/homeassistant/components/websocket_api/commands.py", line 239, in handle_call_service
May 15 10:21:09 homeassistant hass[1659604]:     response = await hass.services.async_call(
May 15 10:21:09 homeassistant hass[1659604]:                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
May 15 10:21:09 homeassistant hass[1659604]:   File "/home/homeassistant/Envs/HA/lib/python3.12/site-packages/homeassistant/core.py", line 2738, in async_call
May 15 10:21:09 homeassistant hass[1659604]:     response_data = await coro
May 15 10:21:09 homeassistant hass[1659604]:                     ^^^^^^^^^^
May 15 10:21:09 homeassistant hass[1659604]:   File "/home/homeassistant/Envs/HA/lib/python3.12/site-packages/homeassistant/core.py", line 2779, in _execute_service
May 15 10:21:09 homeassistant hass[1659604]:     return await target(service_call)
May 15 10:21:09 homeassistant hass[1659604]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^
May 15 10:21:09 homeassistant hass[1659604]:   File "/home/homeassistant/Envs/HA/lib/python3.12/site-packages/homeassistant/helpers/service.py", line 975, in entity_service_call
May 15 10:21:09 homeassistant hass[1659604]:     single_response = await _handle_entity_call(
May 15 10:21:09 homeassistant hass[1659604]:                       ^^^^^^^^^^^^^^^^^^^^^^^^^^
May 15 10:21:09 homeassistant hass[1659604]:   File "/home/homeassistant/Envs/HA/lib/python3.12/site-packages/homeassistant/helpers/service.py", line 1047, in _handle_entity_call
May 15 10:21:09 homeassistant hass[1659604]:     result = await task
May 15 10:21:09 homeassistant hass[1659604]:              ^^^^^^^^^^
May 15 10:21:09 homeassistant hass[1659604]:   File "/home/homeassistant/Envs/HA/lib/python3.12/site-packages/homeassistant/helpers/entity.py", line 1680, in async_turn_on
May 15 10:21:09 homeassistant hass[1659604]:     await self.hass.async_add_executor_job(ft.partial(self.turn_on, **kwargs))
May 15 10:21:09 homeassistant hass[1659604]:   File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
May 15 10:21:09 homeassistant hass[1659604]:     result = self.fn(*self.args, **self.kwargs)
May 15 10:21:09 homeassistant hass[1659604]:              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
May 15 10:21:09 homeassistant hass[1659604]:   File "/home/homeassistant/Envs/HA/lib/python3.12/site-packages/homeassistant/components/tellduslive/switch.py", line 48, in turn_on
May 15 10:21:09 homeassistant hass[1659604]:     self._update_callback()
May 15 10:21:09 homeassistant hass[1659604]:   File "/home/homeassistant/Envs/HA/lib/python3.12/site-packages/homeassistant/components/tellduslive/entry.py", line 53, in _update_callback
May 15 10:21:09 homeassistant hass[1659604]:     self.async_write_ha_state()
May 15 10:21:09 homeassistant hass[1659604]:   File "/home/homeassistant/Envs/HA/lib/python3.12/site-packages/homeassistant/helpers/entity.py", line 1008, in async_write_ha_state
May 15 10:21:09 homeassistant hass[1659604]:     self.hass.verify_event_loop_thread("async_write_ha_state")
May 15 10:21:09 homeassistant hass[1659604]:   File "/home/homeassistant/Envs/HA/lib/python3.12/site-packages/homeassistant/core.py", line 440, in verify_event_loop_thread
May 15 10:21:09 homeassistant hass[1659604]:     frame.report(
May 15 10:21:09 homeassistant hass[1659604]:   File "/home/homeassistant/Envs/HA/lib/python3.12/site-packages/homeassistant/helpers/frame.py", line 162, in report
May 15 10:21:09 homeassistant hass[1659604]:     _report_integration(what, integration_frame, level, error_if_integration)
May 15 10:21:09 homeassistant hass[1659604]:   File "/home/homeassistant/Envs/HA/lib/python3.12/site-packages/homeassistant/helpers/frame.py", line 203, in _report_integration
May 15 10:21:09 homeassistant hass[1659604]:     raise RuntimeError(
May 15 10:21:09 homeassistant hass[1659604]: RuntimeError: Detected that integration 'tellduslive' calls async_write_ha_state from a thread at homeassistant/components/tellduslive/entry.py, line 53: self.async_write_ha_state(). Please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+tellduslive%22.

from core.

home-assistant avatar home-assistant commented on September 26, 2024

Hey there @fredrike, mind taking a look at this issue as it has been labeled with an integration (tellduslive) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of tellduslive can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign tellduslive Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


tellduslive documentation
tellduslive source
(message by IssueLinks)

from core.

J4nM avatar J4nM commented on September 26, 2024

Many thanks, works perfectly. No other issues seen.

from core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.