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

Depreciated Coroutine #12

Open
Iruini626 opened this issue Jun 28, 2023 · 4 comments
Open

Depreciated Coroutine #12

Iruini626 opened this issue Jun 28, 2023 · 4 comments

Comments

@Iruini626
Copy link

need to remove deprecated asyncio coroutine in switch.py line 217 and 218

@MiguelAngelLV
Copy link

Any solution?

@Iruini626
Copy link
Author

Yes, you need to manually modify the switch.py file.

@GMeeser
Copy link

GMeeser commented Aug 30, 2023

How?

@Chaotnix
Copy link

Chaotnix commented Nov 12, 2023

I fixed it with this:

master...Chaotnix:XiaomiAirFryer:master

Change line 218 with
await asyncio.wait(list(map(lambda t: asyncio.create_task(t), update_tasks)))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants