Add more light off conditions
Hopefully fixes stuck cyan light after VAD errors.
This commit is contained in:
parent
c32ff6064b
commit
414de937e1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user