From 414de937e14b7799b679e27331cb6eee2dca2de3 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Tue, 18 Feb 2025 00:38:05 -0500 Subject: [PATCH] Add more light off conditions Hopefully fixes stuck cyan light after VAD errors. --- supersensor.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/supersensor.yaml b/supersensor.yaml index 17420c3..957aa3d 100644 --- a/supersensor.yaml +++ b/supersensor.yaml @@ -313,6 +313,9 @@ voice_assistant: id: assist on_error: - logger.log: "voice error" + - light.turn_off: + id: output_led + transition_length: 1s - if: condition: and: @@ -322,6 +325,9 @@ voice_assistant: - voice_assistant.start_continuous: on_end: - logger.log: "voice ended" + - light.turn_off: + id: output_led + transition_length: 1s - if: condition: and: @@ -388,6 +394,10 @@ voice_assistant: red: 0 green: 1 blue: 0 + on_tts_end: + - light.turn_off: + id: output_led + transition_length: 1s light: - platform: rgb