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 @@ -182,9 +182,14 @@ media_player:
182182 on_announcement :
183183 - if :
184184 condition :
185- lambda : return id(voice_assistant_phase) == ${voice_assist_idle_phase_id};
185+ microphone.is_capturing :
186186 then :
187187 - script.execute : stop_voice_assistant
188+ - if :
189+ condition :
190+ not :
191+ voice_assistant.is_running :
192+ then :
188193 - lambda : id(voice_assistant_phase) = ${voice_assist_muted_phase_id};
189194 - script.execute : draw_display
190195 on_idle :
@@ -231,8 +236,11 @@ voice_assistant:
231236 - script.execute : draw_display
232237 on_end :
233238 - wait_until :
234- not :
235- media_player.is_announcing :
239+ and :
240+ - not :
241+ media_player.is_announcing :
242+ - not :
243+ voice_assistant.is_running :
236244 - if :
237245 condition :
238246 switch.is_off : mute
You can’t perform that action at this time.
0 commit comments