Error during setup of component mass_queue: 'ConfigEntry' object has no attribute 'runtime_data' - appeared with 0.4.2
Since updating to latest HA 2025.9.0 and latest mass_queue I seem to keep getting errors with MASS queue when using Music Assistant Queue Actions 0.4.2:
Error during setup of component mass_queue: 'ConfigEntry' object has no attribute 'runtime_data'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 425, in _async_setup_component
result = await task
^^^^^^^^^^
File "/config/custom_components/mass_queue/__init__.py", line 51, in async_setup
setup_controller_and_actions(hass)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/config/custom_components/mass_queue/actions.py", line 298, in setup_controller_and_actions
mass_client = get_music_assistant_client_boostrap(hass)
File "/config/custom_components/mass_queue/actions.py", line 260, in get_music_assistant_client_boostrap
return config_entry.runtime_data.mass
^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'ConfigEntry' object has no attribute 'runtime_data'
I rolled back to 0.4.1 and the error went away.
Can you provide more information about your setup? It sounds like Music Assistant is reporting that it's set up before it actually finishes.
Please try v0.4.3-dev when you get a chance.
If you have multiple config entries for Music Assistant, even if all but one were disabled, that would cause this issue.
I have uploaded a beta version (v0.5.0-b1) which supports multiple entries. Please test it out and let me know if this resolves your issue.
Closing as resolved with v0.5.0-b1
Closing as resolved with v0.5.0-b1
Tested https://github.com/droans/mass_queue/releases/tag/v0.5.0-b2 and the issue is resolved. Looks like I probably ended up with zombie MA integrations in HA which weren't visible in the UI after I re-installed MA.