2023.7: Responding services

It would be nice to document how to access the service response. I now had to figure out from the example blueprint that I need to add response_variable.

It would be nice to add documentation or a link to Conversation - Home Assistant. Maybe turn part of “This service is able to return a response value” into a link to a dedicated doc page?

For those interested, this is part of a chatgpt reminder writer:

  - variables:
      styles:
        - enthousiastic
        - motivational
  - service: conversation.process
    data:
      agent_id: abc123replaceme
      text: "{{message.replace('$style', styles | random)}}"
    response_variable: chatgpt
  - service: script.unified_tts
    data:
      target: "{{target}}"
      message: >-
        {{chatgpt.response.speech.plain.speech | trim |
        replace('"','')}}
2 Likes