Voice Assist calling script containing a Delay

Hi all,
I have set up a voice assistant using Atom Echo, which is working pretty well. Except … I have an automation that uses a Sentence as trigger, and a script as action. The script is turning on some lights, waits for 2 minutes (delay), and then turns of the lights again.
The trigger works well, the automation is triggered, and the script is executed.
But the Atom Echo waits for the entire automation to be completed before becoming available again.

As a consequence, the Voice assistant is unavailable for 2 minutes.

Is there any way to make the voice assistant to become available as soon as the script is started?

Thanks in advance,

You can control whether a script or automation waits for a script to complete by using the script.turn_on action instead of calling the script directly.

1 Like

Great, that’s exactly what I needed to make it work as I wanted. Thanks a lot!