Enable Stop Listen
This commit is contained in:
@@ -53,13 +53,17 @@ voice_assistant:
|
||||
effect: none
|
||||
- lambda: id(voice_assistant_phase) = 2;
|
||||
- lambda: id(stt_vad_started) = false;
|
||||
- script.execute: listening_timeout
|
||||
|
||||
on_stt_vad_start:
|
||||
# Turn off the script if speech is detected
|
||||
- lambda: id(stt_vad_started) = true;
|
||||
|
||||
|
||||
|
||||
on_stt_vad_end:
|
||||
#- logger.log: "===============================VAD is the END =================================="
|
||||
- script.stop: listening_timeout
|
||||
- light.turn_on:
|
||||
id: led
|
||||
blue: 100%
|
||||
|
||||
Reference in New Issue
Block a user