From 530a1b1f2c9e203a71bbd59279a95f2f49098024 Mon Sep 17 00:00:00 2001 From: Paul Bottein Date: Fri, 20 Jun 2025 15:34:04 +0200 Subject: [PATCH] Define fields for assist ask_question action --- .../components/assist_satellite/services.yaml | 14 ++++++++++++++ .../components/assist_satellite/strings.json | 8 ++++++++ 2 files changed, 22 insertions(+) diff --git a/homeassistant/components/assist_satellite/services.yaml b/homeassistant/components/assist_satellite/services.yaml index c5484e22dad..6beb0991861 100644 --- a/homeassistant/components/assist_satellite/services.yaml +++ b/homeassistant/components/assist_satellite/services.yaml @@ -86,3 +86,17 @@ ask_question: required: false selector: object: + label_field: sentences + description_field: id + multiple: true + translation_key: answers + fields: + id: + required: true + selector: + text: + sentences: + required: true + selector: + text: + multiple: true diff --git a/homeassistant/components/assist_satellite/strings.json b/homeassistant/components/assist_satellite/strings.json index e0bf2bcfb94..52df2492480 100644 --- a/homeassistant/components/assist_satellite/strings.json +++ b/homeassistant/components/assist_satellite/strings.json @@ -90,5 +90,13 @@ } } } + }, + "selector": { + "answers": { + "fields": { + "id": "Answer ID", + "sentences": "Sentences" + } + } } }