Fix bad ordering on error

This commit is contained in:
Joshua Boniface 2023-11-22 21:54:20 -05:00
parent 2ea97ac300
commit 3324c3aa85

View File

@ -52,6 +52,10 @@ esphome:
- delay: 2s
- switch.turn_on: use_wake_word
- delay: 2s
- switch.turn_off: use_wake_word
- delay: 2s
- switch.turn_on: use_wake_word
- delay: 2s
- light.turn_off:
id: output_led
@ -139,8 +143,9 @@ voice_assistant:
id: assist
on_error:
- logger.log: "Voice Assistant encountered an error; restarting it"
- switch.turn_on: use_wake_word
- switch.turn_off: use_wake_word
- delay: 1s
- switch.turn_on: use_wake_word
on_wake_word_detected:
- light.turn_off:
id: output_led