Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TP-Link LTE broken as of 2023.6.0 - "Passing coroutines is forbidden, use tasks explicitly" #95628

Closed
jonasgustavsson opened this issue Jun 30, 2023 · 4 comments

Comments

@jonasgustavsson
Copy link

The problem

After upgrading from 2023.5.X to 2023.6.0, the component tplink_lte can no longer be setup.
The following error is thrown when starting HA:

Logger: homeassistant.setup
Source: components/tplink_lte/__init__.py:97
First occurred: 16:43:07 (1 occurrences)
Last logged: 16:43:07
Error during setup of component tplink_lte

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 286, in _async_setup_component
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/tplink_lte/__init__.py", line 97, in async_setup
    await asyncio.wait(tasks)
  File "/usr/local/lib/python3.11/asyncio/tasks.py", line 415, in wait
    raise TypeError("Passing coroutines is forbidden, use tasks explicitly.")
TypeError: Passing coroutines is forbidden, use tasks explicitly.

I maintain two instances of HA, both connected to the a TP-Link Router each, and the stopped working after I upgraded them to 2023.6.0.
Tried googeling, and found that my error is similar to claytonjn/hass-circadian_lighting#227 - both started appearing in 2023.6.0 and states Passing coroutines is forbidden, use tasks explicitly. Judging by the comments, this seems to be a widespread issue among components as of 2023.6.0.

I've tried upgrading to latest HA, 2023.6.3, with no difference.

What version of Home Assistant Core has the issue?

2023.6.0

What was the last working version of Home Assistant Core?

2023.5.X

What type of installation are you running?

Home Assistant OS

Integration causing the issue

TP-Link LTE

Link to integration documentation on our website

https://www.home-assistant.io/integrations/tplink_lte

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@home-assistant
Copy link

@WebSpider
Copy link
Contributor

Duplicate of #95626

@issue-triage-workflows
Copy link

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

@issue-triage-workflows issue-triage-workflows bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 9, 2023
@maweki
Copy link
Contributor

maweki commented Oct 9, 2023

The integration should be deleted then, as it has no other use.

@github-actions github-actions bot locked and limited conversation to collaborators Nov 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants