You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to use the russound_rio library as part of Home Assistant 2022.7, and I believe that they have switched to Python 3.10.5. Now, when invoking the rio library, it would appear that the Loop parameters are making it angry as seen below.
The library does not talk to any of my Russound amps, effectively breaking the integration.
I am not a Python dev by any means, so I don't know how hard it would be to re-code this to work with 3.10.
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 250, in _async_setup_platform
await asyncio.shield(task)
File "/usr/src/homeassistant/homeassistant/components/russound_rio/media_player.py", line 46, in async_setup_platform
russ = Russound(hass.loop, host, port)
File "/usr/local/lib/python3.10/site-packages/russound_rio/rio.py", line 71, in __init__
self._cmd_queue = asyncio.Queue(loop=loop)
File "/usr/local/lib/python3.10/asyncio/queues.py", line 34, in __init__
super().__init__(loop=loop)
File "/usr/local/lib/python3.10/asyncio/mixins.py", line 17, in __init__
raise TypeError(
TypeError: As of 3.10, the *loop* parameter was removed from Queue() since it is no longer necessary
The text was updated successfully, but these errors were encountered:
Trying to use the russound_rio library as part of Home Assistant 2022.7, and I believe that they have switched to Python 3.10.5. Now, when invoking the rio library, it would appear that the Loop parameters are making it angry as seen below.
The library does not talk to any of my Russound amps, effectively breaking the integration.
I am not a Python dev by any means, so I don't know how hard it would be to re-code this to work with 3.10.
The text was updated successfully, but these errors were encountered: