From 12c95d0e92829734060323b4248a79063129a1c5 Mon Sep 17 00:00:00 2001 From: SMKRV Date: Mon, 25 Nov 2024 00:08:07 +0300 Subject: [PATCH] Release v2.0.0 --- custom_components/ha_text_ai/services.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/custom_components/ha_text_ai/services.yaml b/custom_components/ha_text_ai/services.yaml index 8641095..e8c264b 100644 --- a/custom_components/ha_text_ai/services.yaml +++ b/custom_components/ha_text_ai/services.yaml @@ -9,8 +9,9 @@ ask_question: description: Name of the HA Text AI instance to use required: true selector: - select: - options: "{{ states.sensor | selectattr('entity_id', 'search', 'ha_text_ai_') | map(attribute='entity_id') | list }}" + entity: + integration: ha_text_ai + domain: sensor question: name: Question @@ -19,7 +20,7 @@ ask_question: selector: text: multiline: true - type: text + type: text system_prompt: name: System Prompt