Open Iruini626 opened 1 year ago
Any solution?
Yes, you need to manually modify the switch.py file.
How?
I fixed it with this:
https://github.com/tsunglung/XiaomiAirFryer/compare/master...Chaotnix:XiaomiAirFryer:master
Change line 218 with await asyncio.wait(list(map(lambda t: asyncio.create_task(t), update_tasks)))
need to remove deprecated asyncio coroutine in switch.py line 217 and 218