The return: command successfully terminates an automation in the return state and returns a dictionary.

Syntax



start:
  set:
    name: Kina
  return:
    output@text:
      Hello, {{name}}!


The expected return: dictionary depends on the automation trigger.