Hello, I was wondering if anybody knew what was going on here (and yes, I have uninstalled and reinstalled both the add-on and the integrations multiple times, too!):
I have installed Music Assistant server version 2.5.2 as an add-on. I have set up multiple music providers. I have set up Chromecast player provider for my Google Nest Minis. I have installed Music Assistant server version 2.5.2. I have set up multiple music providers. I have set up Chromecast player provider for my Google Nest Minis. I have even set up Home Assistant as a plugin provider. The Streamserver page has the same IP address as HA, so that’s good.
So far, so good. I can access the Music Assistant UI through HA and play music to any of my speakers as I wish.
I see HA offering me two new integrations. Music Assistant and Music Assistant (CUSTOM). If I choose custom, it DOES work (but I get a Repair notice saying that its deprecated and I should migrated). If I choose the default standard option, it says it has successfully configured Music Assistant integration, but as you can see, it doesn’t really work.
Here is the error message that pops up in the logs:
Logger: homeassistant.config_entries
Source: config_entries.py:749
First occurred: 1:33:37 PM (1 occurrence)
Last logged: 1:33:37 PM
Error setting up entry Music Assistant for music_assistant
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 749, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/music_assistant/__init__.py", line 123, in async_setup_entry
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2568, in async_forward_entry_setups
await integration.async_get_platforms(platforms)
File "/usr/src/homeassistant/homeassistant/loader.py", line 1163, in async_get_platforms
import_future.result()
~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1151, in async_get_platforms
platforms.update(self._load_platforms(platform_names))
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1076, in _load_platforms
platform_name: self._load_platform(platform_name)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1250, in _load_platform
cache[full_name] = self._import_platform(platform_name)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1282, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/loop.py", line 201, in protected_loop_func
return func(*args, **kwargs)
File "/usr/local/lib/python3.13/importlib/__init__.py", line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/usr/src/homeassistant/homeassistant/components/music_assistant/media_player.py", line 12, in <module>
from music_assistant_models.constants import PLAYER_CONTROL_NONE
ImportError: cannot import name 'PLAYER_CONTROL_NONE' from 'music_assistant_models.constants' (/usr/local/lib/python3.13/site-packages/music_assistant_models/constants.py)
Does anybody have any idea what is going on? Is there anything that I can do to fix this?
Many thanks,
David