From 279b614b7ce008633f779fd57eb5f0ec7a67c8e2 Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Thu, 21 May 2026 09:35:48 +0200 Subject: [PATCH] Remove advanced mode from music_assistant service actions (#171451) --- .../components/music_assistant/services.yaml | 66 +++++++++---------- .../components/music_assistant/strings.json | 14 +++- 2 files changed, 45 insertions(+), 35 deletions(-) diff --git a/homeassistant/components/music_assistant/services.yaml b/homeassistant/components/music_assistant/services.yaml index fbc1949d5fd..e93f60391b4 100644 --- a/homeassistant/components/music_assistant/services.yaml +++ b/homeassistant/components/music_assistant/services.yaml @@ -46,7 +46,6 @@ play_media: - "add" translation_key: enqueue radio_mode: - advanced: true selector: boolean: @@ -138,20 +137,21 @@ search: example: "News of the world" selector: text: - limit: - advanced: true - example: 25 - default: 5 - selector: - number: - min: 1 - max: 100 - step: 1 - library_only: - example: "true" - default: false - selector: - boolean: + search_options: + fields: + limit: + example: 25 + default: 5 + selector: + number: + min: 1 + max: 100 + step: 1 + library_only: + example: "true" + default: false + selector: + boolean: get_library: fields: @@ -183,24 +183,24 @@ get_library: example: "We Are The Champions" selector: text: - limit: - advanced: true - example: 25 - default: 25 - selector: - number: - min: 1 - max: 500 - step: 1 - offset: - advanced: true - example: 25 - default: 0 - selector: - number: - min: 1 - max: 1000000 - step: 1 + pagination: + fields: + limit: + example: 25 + default: 25 + selector: + number: + min: 1 + max: 500 + step: 1 + offset: + example: 25 + default: 0 + selector: + number: + min: 1 + max: 1000000 + step: 1 order_by: example: "random" selector: diff --git a/homeassistant/components/music_assistant/strings.json b/homeassistant/components/music_assistant/strings.json index 299e7d8caa6..a52253658da 100644 --- a/homeassistant/components/music_assistant/strings.json +++ b/homeassistant/components/music_assistant/strings.json @@ -360,7 +360,12 @@ "name": "Search" } }, - "name": "Get library items" + "name": "Get library items", + "sections": { + "pagination": { + "name": "Pagination" + } + } }, "get_queue": { "description": "Retrieves the details of the currently active queue of a Music Assistant player.", @@ -450,7 +455,12 @@ "name": "Search name" } }, - "name": "Search Music Assistant" + "name": "Search Music Assistant", + "sections": { + "search_options": { + "name": "Search options" + } + } }, "transfer_queue": { "description": "Transfers a player's queue to another player.",