Voice 'ask_question' times out and automation flow stops

I’m working on a song guessing game similar to the ‘Song Quiz’ game on Amazon Alexa devices. For user input I am using the ask_question action.

Example:

        - action: assist_satellite.ask_question
          metadata: {}
          data:
            question: What song just played?
            preannounce: false
            entity_id: "{{ target_ha_satellite_device }}"
          response_variable: song_guess

Is there a way to require the user answer? Right now if no answer is given the automation stops. Is there a way to continue?

Short of that, can the response variable be checked for null/empty and then prompt the user again via another call or just say something like “time is up” and continue the automation flow?


  - action: assist_satellite.ask_question
    metadata: {}
    data:
      question: What song just played?
      preannounce: false
      entity_id: "{{ target_ha_satellite_device }}"
    response_variable: song_guess
    continue_on_error: true

Thank you for this info! Is this documented somewhere? I had a hard time finding info outside of on the voice assistant page.

Can I determine if an error occurred so that I can handle it? I can do something like check the response variable is empty to determine if no response was given?

Try to see what the song_guess.sentence variable returns. I haven’t tested it, but I think you’ll be able to do the check.