From a637b7db758304c60061935a9ae99ca615bba906 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Mon, 26 Jun 2023 09:15:20 -0400 Subject: [PATCH] Automatically refresh when showing debug for a pipeline in progress (#17030) --- .../debug/assist-pipeline-debug.ts | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/src/panels/config/voice-assistants/debug/assist-pipeline-debug.ts b/src/panels/config/voice-assistants/debug/assist-pipeline-debug.ts index e75f3a230f..9fb7782474 100644 --- a/src/panels/config/voice-assistants/debug/assist-pipeline-debug.ts +++ b/src/panels/config/voice-assistants/debug/assist-pipeline-debug.ts @@ -35,6 +35,8 @@ export class AssistPipelineDebug extends LitElement { @state() private _events?: PipelineRunEvent[]; + private _unsubRefreshEventsID?: number; + protected render() { return html` { + this._fetchEvents(); + }, 2000); } }