Hi,
Just trying to let my Sonos tell me every evening a bedtime story which chatgpt is creating. Due to that this takes about 10-20sec to process I want to store the response into a text input helper (I already increased the maximum characters to store to 2000)
But unfortunately there is nothing stored into the text, I also get no warnings or errors. To confirm that it is generally working I added a notify to my Phone, which is working fine.
Any ideas what I’m doing wrong?
Automation:
alias: ChatGPT Test
description: ""
trigger: []
condition: []
action:
- service: conversation.process
data:
agent_id: bb818bce4388ebe27a8d54531d1e4d7d
text: >-
Tell me a random bedtime story
response_variable: chatgpt
- service: notify.mobile_app_s23ultra
data:
message: "Assist Reply: {{ chatgpt.response.speech.plain.speech }}"
enabled: true
- service: input_text.set_value
target:
entity_id: input_text.test
data:
value: "{{ chatgpt.response.speech.plain.speech | string }}"
mode: single