From b1756ff5102dd753f80245ed8a3764bd3a2084ae Mon Sep 17 00:00:00 2001 From: Michael Carroll Date: Fri, 17 Apr 2026 13:20:30 -0400 Subject: [PATCH 1/2] Improve error message --- custom_components/mass_queue/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/mass_queue/utils.py b/custom_components/mass_queue/utils.py index eda3601..b7402b0 100644 --- a/custom_components/mass_queue/utils.py +++ b/custom_components/mass_queue/utils.py @@ -75,7 +75,7 @@ def find_mass_queue_entry_from_unique_id(hass: HomeAssistant, unique_id: str): for entry in entries: if entry.unique_id == unique_id: return entry - msg = f"Cannot find entry for Music Assistant with unique ID {unique_id}" + msg = f"Cannot find entry for Music Assistant Queue Actions with unique ID {unique_id}. Are the integrations for Music Assistant and Music Assistant Queue Actions configured?" raise ServiceValidationError(msg) From 14256fce628fbf6e0330db5b906dcf76fff92471 Mon Sep 17 00:00:00 2001 From: Michael Carroll Date: Fri, 17 Apr 2026 13:20:48 -0400 Subject: [PATCH 2/2] Ensure strings reference Music Assistant Queue Actions --- custom_components/mass_queue/translations/en.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/custom_components/mass_queue/translations/en.json b/custom_components/mass_queue/translations/en.json index 1e04102..952238a 100644 --- a/custom_components/mass_queue/translations/en.json +++ b/custom_components/mass_queue/translations/en.json @@ -8,13 +8,13 @@ }, "manual": { "title": "Manually add Music Assistant server", - "description": "Enter the URL to your already running Music Assistant server. If you do not have the Music Assistant server running, you should install it first.", + "description": "Enter the URL to your already running Music Assistant server for Music Assistant Queue Actions to use. If you do not have the Music Assistant server running, you should install it first.", "data": { "url": "URL of the Music Assistant server" } }, "discovery_confirm": { - "description": "Do you want to add the Music Assistant server `{url}` to Home Assistant?", + "description": "Do you want to add Music Assistant Queue Actions (via the Music Assistant server `{url}`) to Home Assistant?", "title": "Discovered Music Assistant server" } }, @@ -26,7 +26,7 @@ "abort": { "already_configured": "[%key:common::config_flow::abort::already_configured_device%]", "already_in_progress": "[%key:common::config_flow::abort::already_in_progress%]", - "reconfiguration_successful": "Successfully reconfigured the Music Assistant integration.", + "reconfiguration_successful": "Successfully reconfigured the Music Assistant Queue Action integration.", "cannot_connect": "[%key:common::config_flow::error::cannot_connect%]", "reconfigure_successful": "[%key:common::config_flow::abort::reconfigure_successful%]" } @@ -43,7 +43,7 @@ "issues": { "invalid_server_version": { "title": "The Music Assistant server is not the correct version", - "description": "Check if there are updates available for the Music Assistant server and/or integration." + "description": "Check if there are updates available for the Music Assistant server and/or MA Queue Actions integration." } }, "services": {