File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -248,9 +248,14 @@ media_player:
248248 on_announcement :
249249 - if :
250250 condition :
251- lambda : return id(voice_assistant_phase) == ${voice_assist_idle_phase_id};
251+ microphone.is_capturing :
252252 then :
253253 - script.execute : stop_voice_assistant
254+ - if :
255+ condition :
256+ not :
257+ voice_assistant.is_running :
258+ then :
254259 - lambda : id(voice_assistant_phase) = ${voice_assist_muted_phase_id};
255260 - script.execute : draw_display
256261 on_idle :
@@ -296,8 +301,11 @@ voice_assistant:
296301 - script.execute : draw_display
297302 on_end :
298303 - wait_until :
299- not :
300- media_player.is_announcing :
304+ and :
305+ - not :
306+ media_player.is_announcing :
307+ - not :
308+ voice_assistant.is_running :
301309 - if :
302310 condition :
303311 switch.is_off : mute
You can’t perform that action at this time.
0 commit comments