diff --git a/services/voices3mb4.yaml b/services/voices3mb4.yaml index d78dfc0..cd64f8a 100644 --- a/services/voices3mb4.yaml +++ b/services/voices3mb4.yaml @@ -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%