Support for generator-based coroutines is deprecated and is removed in Python 3.11.
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/components/rflink/init.py", line 9, in
from rflink.protocol import ProtocolBase, create_rflink_connection
File "/srv/homeassistant/lib/python3.11/site-packages/rflink/protocol.py", line 222, in
class CommandSerialization(PacketHandling):
File "/srv/homeassistant/lib/python3.11/site-packages/rflink/protocol.py", line 243, in CommandSerialization
@asyncio.coroutine
^^^^^^^^^^^^^^^^^
AttributeError: module 'asyncio' has no attribute 'coroutine'
Support for generator-based coroutines is deprecated and is removed in Python 3.11.
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/components/rflink/init.py", line 9, in
from rflink.protocol import ProtocolBase, create_rflink_connection
File "/srv/homeassistant/lib/python3.11/site-packages/rflink/protocol.py", line 222, in
class CommandSerialization(PacketHandling):
File "/srv/homeassistant/lib/python3.11/site-packages/rflink/protocol.py", line 243, in CommandSerialization
@asyncio.coroutine
^^^^^^^^^^^^^^^^^
AttributeError: module 'asyncio' has no attribute 'coroutine'