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
|
id: assist
|
||||||
on_error:
|
on_error:
|
||||||
- logger.log: "voice error"
|
- logger.log: "voice error"
|
||||||
|
- light.turn_off:
|
||||||
|
id: output_led
|
||||||
|
transition_length: 1s
|
||||||
- if:
|
- if:
|
||||||
condition:
|
condition:
|
||||||
and:
|
and:
|
||||||
@ -322,6 +325,9 @@ voice_assistant:
|
|||||||
- voice_assistant.start_continuous:
|
- voice_assistant.start_continuous:
|
||||||
on_end:
|
on_end:
|
||||||
- logger.log: "voice ended"
|
- logger.log: "voice ended"
|
||||||
|
- light.turn_off:
|
||||||
|
id: output_led
|
||||||
|
transition_length: 1s
|
||||||
- if:
|
- if:
|
||||||
condition:
|
condition:
|
||||||
and:
|
and:
|
||||||
@ -388,6 +394,10 @@ voice_assistant:
|
|||||||
red: 0
|
red: 0
|
||||||
green: 1
|
green: 1
|
||||||
blue: 0
|
blue: 0
|
||||||
|
on_tts_end:
|
||||||
|
- light.turn_off:
|
||||||
|
id: output_led
|
||||||
|
transition_length: 1s
|
||||||
|
|
||||||
light:
|
light:
|
||||||
- platform: rgb
|
- platform: rgb
|
||||||
|
Loading…
x
Reference in New Issue
Block a user