Assist_satellite.ask_question how to handle no answer?

I am using the new assist_satellite.ask_question action and it works well but how do I handle the case when no answer is given? I’d like to call a script in this case.

Checking (if-then-else) for the existence of a response variable or the presence of text in it. Experiment with this.

1 Like

I tried what @mchk suggested and this works:

    - if:  # no response
        condition: template
        value_template: "{{ not answer is defined }}"
      then:
        - action: ....

You also need to specify “continue_on_error: true” for this to work:

    - action: assist_satellite.ask_question
      continue_on_error: true
1 Like