Closed ruant closed 1 year ago
Due to changes in python 3.11 coroutines is now not allowed to be passed to wait directly
wait
Check this for more info: https://docs.python.org/3/library/asyncio-task.html#asyncio.wait
Check the issue https://github.com/toreamun/amshan-homeassistant/issues/62 for more info. Credits goes to https://github.com/m0bygit for the fix!
Fixes https://github.com/toreamun/amshan-homeassistant/issues/62
Thanks @ruant
Thanks, but the credit should go to https://github.com/m0bygit for the code changes. I just made the PR :)
Due to changes in python 3.11 coroutines is now not allowed to be passed to
wait
directlyCheck this for more info: https://docs.python.org/3/library/asyncio-task.html#asyncio.wait
Check the issue https://github.com/toreamun/amshan-homeassistant/issues/62 for more info. Credits goes to https://github.com/m0bygit for the fix!
Fixes https://github.com/toreamun/amshan-homeassistant/issues/62