diff --git a/src/panels/config/voice-assistants/debug/assist-render-pipeline-run.ts b/src/panels/config/voice-assistants/debug/assist-render-pipeline-run.ts index 132e4f2e2fce..00077991afef 100644 --- a/src/panels/config/voice-assistants/debug/assist-render-pipeline-run.ts +++ b/src/panels/config/voice-assistants/debug/assist-render-pipeline-run.ts @@ -71,10 +71,11 @@ const maybeRenderError = ( const renderProgress = ( hass: HomeAssistant, pipelineRun: PipelineRun, - stage: PipelineRun["stage"] + stage: PipelineRun["stage"], + start_suffix: string = "-start" ) => { const startEvent = pipelineRun.events.find( - (ev) => ev.type === `${stage}-start` + (ev) => ev.type === `${stage}` + start_suffix ); const finishEvent = pipelineRun.events.find( (ev) => ev.type === `${stage}-end` @@ -244,7 +245,12 @@ export class AssistPipelineDebug extends LitElement {
Speech-to-text - ${renderProgress(this.hass, this.pipelineRun, "stt")} + ${renderProgress( + this.hass, + this.pipelineRun, + "stt", + "-vad-end" + )}
${this.pipelineRun.stt ? html`