I have the following automation that queries Claude for a fact of the day and then places the response in a Text Helper. The AI action is working but the Text help is not updating but there is not an error in the trace.
alias: "Fact of the Day"
description: ""
triggers:
- at: "06:00:00"
alias: Daily at 6am
trigger: time
conditions: []
actions:
- action: ai_task.generate_data
metadata: {}
data:
task_name: AI Fact of the Day
instructions: >-
Generate a random and fun fact of the day. Respond with just the answer
and ensure it is new and not a repeat fact. Keep it to a single
sentence.
entity_id: ai_task.claude_ai_task
response_variable: ai_output
- action: input_text.set_value
metadata: {}
data:
value: "{{ ai_output.data }}"
target:
entity_id: input_text.ai_fact_of_the_day
mode: single