diff --git a/custom_components/ha_text_ai/manifest.json b/custom_components/ha_text_ai/manifest.json index 55f2fb1..80fcb39 100644 --- a/custom_components/ha_text_ai/manifest.json +++ b/custom_components/ha_text_ai/manifest.json @@ -25,6 +25,6 @@ "single_config_entry": false, "ssdp": [], "usb": [], - "version": "2.2.0", + "version": "2.3.0", "zeroconf": [] } diff --git a/custom_components/ha_text_ai/services.yaml b/custom_components/ha_text_ai/services.yaml index c5b25ac..750ad1d 100644 --- a/custom_components/ha_text_ai/services.yaml +++ b/custom_components/ha_text_ai/services.yaml @@ -80,11 +80,13 @@ ask_question: required: false default: false selector: - boolean: + boolean: {} json_schema: name: JSON Schema - description: JSON Schema defining the structure of the expected response. Required when structured_output is enabled. Example: {"type": "object", "properties": {"answer": {"type": "string"}}, "required": ["answer"]} + description: >- + JSON Schema defining the structure of the expected response. + Required when structured_output is enabled. required: false selector: text: @@ -151,7 +153,7 @@ get_history: required: false default: false selector: - boolean: + boolean: {} sort_order: name: Sort Order