Enable Stop Listen

This commit is contained in:
radu
2026-10-26 09:11:26 +07:00
parent 12b422420a
commit e0f13f53f6
+4
View File
@@ -53,13 +53,17 @@ voice_assistant:
effect: none effect: none
- lambda: id(voice_assistant_phase) = 2; - lambda: id(voice_assistant_phase) = 2;
- lambda: id(stt_vad_started) = false; - lambda: id(stt_vad_started) = false;
- script.execute: listening_timeout
on_stt_vad_start: on_stt_vad_start:
# Turn off the script if speech is detected # Turn off the script if speech is detected
- lambda: id(stt_vad_started) = true; - lambda: id(stt_vad_started) = true;
on_stt_vad_end: on_stt_vad_end:
#- logger.log: "===============================VAD is the END ==================================" #- logger.log: "===============================VAD is the END =================================="
- script.stop: listening_timeout
- light.turn_on: - light.turn_on:
id: led id: led
blue: 100% blue: 100%