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 :
@@ -230,8 +235,11 @@ voice_assistant:
230235 - script.execute : draw_display
231236 on_end :
232237 - wait_until :
233- not :
234- media_player.is_announcing :
238+ and :
239+ - not :
240+ media_player.is_announcing :
241+ - not :
242+ voice_assistant.is_running :
235243 - if :
236244 condition :
237245 switch.is_off : mute
You can’t perform that action at this time.
0 commit comments