Closed jthun closed 1 year ago
it is related to Python 3.11, yes:
Removed the @asyncio.coroutine() decorator enabling legacy generator-based coroutines to be compatible with async / await code. The function has been deprecated since Python 3.8 and the removal was initially scheduled for Python 3.10. Use async def instead. (Contributed by Illia Volochii in bpo-43216.)
Also just ran into this.
Fixed in 3.1.1 pushed just now. Thanks @morlic.
Hi,
The HASL integration setup fails after upgrading to HA 2023.6.0. Worked fine with HA 2023.5.
Log output:
Maybe related to Python 3.11?
EDIT: Commenting out line 41 (
@asyncio.coroutine
) inhasl3/__init__.py
makes it work just fine again.