thebradleysanders / Monoprice-6-Zone-Audio-Controller

An Integration for the Monoprice 6 Zone Home Audio Controller, with added sensors, sound mode, balance, treble & bass support.
12 stars 2 forks source link

Error loading monoprice_custom #6

Open ha-bnst opened 1 year ago

ha-bnst commented 1 year ago

Error after updating to: Home Assistant 2023.6.0 Supervisor 2023.06.1 Operating System 10.2 Frontend 20230607.0 - latest

This error originated from a custom integration.

Logger: homeassistant.loader Source: custom_components/monoprice_custom/init.py:4 Integration: Monoprice 6-Zone Amplifier Custom (documentation, issues) First occurred: 11:08:05 AM (1 occurrences) Last logged: 11:08:05 AM

Unexpected exception importing component custom_components.monoprice_custom Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/loader.py", line 813, in get_component ComponentProtocol, importlib.import_module(self.pkg_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1206, in _gcd_import File "", line 1178, in _find_and_load File "", line 1149, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "/config/custom_components/monoprice_custom/init.py", line 4, in from pymonoprice import get_monoprice File "/usr/local/lib/python3.11/site-packages/pymonoprice/init.py", line 9, in from serial_asyncio import create_serial_connection, SerialTransport File "/usr/local/lib/python3.11/site-packages/serial_asyncio/init.py", line 408, in @asyncio.coroutine ^^^^^^^^^^^^^^^^^ AttributeError: module 'asyncio' has no attribute 'coroutine'