From ffa60e325880d660918fb4390f7ef23bbea4ea33 Mon Sep 17 00:00:00 2001 From: Michael Carroll Date: Fri, 5 Dec 2025 11:21:06 -0500 Subject: [PATCH 1/5] Set minimum HA version --- custom_components/mass_queue/manifest.json | 1 + 1 file changed, 1 insertion(+) diff --git a/custom_components/mass_queue/manifest.json b/custom_components/mass_queue/manifest.json index cac01e0..5188e98 100644 --- a/custom_components/mass_queue/manifest.json +++ b/custom_components/mass_queue/manifest.json @@ -5,6 +5,7 @@ "config_flow": true, "dependencies": ["auth", "music_assistant"], "documentation": "https://www.github.com/droans/mass_queue", + "homeassistant": "2025.12.0", "homekit": {}, "integration_type": "service", "iot_class": "local_push", From 3fe22b3a94312465f83c6797cb751658f98ec18f Mon Sep 17 00:00:00 2001 From: Michael Carroll Date: Fri, 5 Dec 2025 11:21:11 -0500 Subject: [PATCH 2/5] Version bump --- custom_components/mass_queue/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/mass_queue/manifest.json b/custom_components/mass_queue/manifest.json index 5188e98..f937afe 100644 --- a/custom_components/mass_queue/manifest.json +++ b/custom_components/mass_queue/manifest.json @@ -12,6 +12,6 @@ "issue_tracker": "https://github.com/droans/mass_queue/issues", "requirements": ["music-assistant-client"], "ssdp": [], - "version": "0.9.0", + "version": "0.9.1", "zeroconf": ["_mass._tcp.local."] } From 622e964969c67aeb1e07fbc4e28eee8f85641d88 Mon Sep 17 00:00:00 2001 From: Michael Carroll Date: Sat, 6 Dec 2025 14:28:09 -0500 Subject: [PATCH 3/5] Fix: Broken config flow --- custom_components/mass_queue/config_flow.py | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/custom_components/mass_queue/config_flow.py b/custom_components/mass_queue/config_flow.py index e38d588..6615df2 100644 --- a/custom_components/mass_queue/config_flow.py +++ b/custom_components/mass_queue/config_flow.py @@ -69,7 +69,10 @@ def _parse_zeroconf_server_info(properties: dict[str, str]) -> ServerInfoMessage def get_manual_schema(user_input: dict[str, Any]) -> vol.Schema: """Return a schema for the manual step.""" - default_url = user_input.get(CONF_URL, DEFAULT_URL) + if type(user_input) is dict: + default_url = user_input.get(CONF_URL, DEFAULT_URL) + else: + default_url = DEFAULT_URL return vol.Schema( { vol.Required(CONF_URL, default=default_url): str, @@ -145,12 +148,14 @@ async def async_step_user( if suggested_values is None: suggested_values = {CONF_URL: DEFAULT_URL} + form = get_manual_schema(user_input) + schema = self.add_suggested_values_to_schema( + form, + suggested_values, + ) return self.async_show_form( step_id="user", - data_schema=self.add_suggested_values_to_schema( - get_manual_schema(user_input), - suggested_values, - ), + data_schema=schema, errors=errors, ) From 07ef8aba20893940310c37d136b4c026af99000b Mon Sep 17 00:00:00 2001 From: Michael Carroll Date: Sat, 6 Dec 2025 14:28:24 -0500 Subject: [PATCH 4/5] Fix: API change --- custom_components/mass_queue/controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/mass_queue/controller.py b/custom_components/mass_queue/controller.py index 088f490..d4d5fec 100644 --- a/custom_components/mass_queue/controller.py +++ b/custom_components/mass_queue/controller.py @@ -229,7 +229,7 @@ async def get_queue( async def get_active_queue(self, queue_id: str): """Get the active queue for a single queue.""" - return await self._client.get_active_queue(queue_id) + return await self._client.player_queues.get_active_queue(queue_id) async def get_queue_index(self, queue_id: str): """Get the active queue index for a single queue.""" From ba63966a2295c7284272231c028afdc14bab890f Mon Sep 17 00:00:00 2001 From: Michael Carroll Date: Sat, 6 Dec 2025 14:29:34 -0500 Subject: [PATCH 5/5] Add minimum HA version --- custom_components/mass_queue/manifest.json | 1 - hacs.json | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/mass_queue/manifest.json b/custom_components/mass_queue/manifest.json index f937afe..de31fdd 100644 --- a/custom_components/mass_queue/manifest.json +++ b/custom_components/mass_queue/manifest.json @@ -5,7 +5,6 @@ "config_flow": true, "dependencies": ["auth", "music_assistant"], "documentation": "https://www.github.com/droans/mass_queue", - "homeassistant": "2025.12.0", "homekit": {}, "integration_type": "service", "iot_class": "local_push", diff --git a/hacs.json b/hacs.json index 9819fbc..2a28ecc 100644 --- a/hacs.json +++ b/hacs.json @@ -1,5 +1,6 @@ { "name": "Music Assistant Queue Actions", + "homeassistant": "2025.12", "render_readme": true, "zip_release": false }