I have an automation that runs tts.speak on my Voice PE (using piper) that asks "Would you like to run the vacuum now?". I can then trigger the Voice PE to listen remotely (adopted device in esphome and added a custom button that the automation presses):
- platform: template
name: "Trigger Listening (Custom)"
on_press:
- script.execute:
id: play_sound
priority: true
sound_file: !lambda return id(wake_word_triggered_sound);
- voice_assistant.start:```
Now, I'm wondering if it's possible to have the automation tell whether yes or no was detected by whisper or Voice PE, and run an action accordingly (in this case, run my vacuum).