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 9fb7782474..e4b7092ee5 100644 --- a/src/panels/config/voice-assistants/debug/assist-pipeline-debug.ts +++ b/src/panels/config/voice-assistants/debug/assist-pipeline-debug.ts @@ -3,15 +3,15 @@ import { mdiRayEndArrow, mdiRayStartArrow, } from "@mdi/js"; -import { css, html, LitElement } from "lit"; +import { LitElement, css, html } from "lit"; import { customElement, property, state } from "lit/decorators"; import { repeat } from "lit/directives/repeat"; import { formatDateTimeWithSeconds } from "../../../../common/datetime/format_date_time"; import { - listAssistPipelineRuns, - getAssistPipelineRun, PipelineRunEvent, assistRunListing, + getAssistPipelineRun, + listAssistPipelineRuns, } from "../../../../data/assist_pipeline"; import { showAlertDialog } from "../../../../dialogs/generic/show-dialog-box"; import "../../../../layouts/hass-subpage"; @@ -41,12 +41,19 @@ export class AssistPipelineDebug extends LitElement { return html`
${this._runs?.length @@ -54,7 +61,9 @@ export class AssistPipelineDebug extends LitElement { @@ -74,7 +83,9 @@ export class AssistPipelineDebug extends LitElement { @@ -82,7 +93,11 @@ export class AssistPipelineDebug extends LitElement { : ""}
${this._runs?.length === 0 - ? html`
No runs found
` + ? html`
+ ${this.hass.localize( + "ui.panel.config.voice_assistants.debug.no_runs_found" + )} +
` : ""}
${this._events diff --git a/src/translations/en.json b/src/translations/en.json index 204bc20eca..df4e78187e 100644 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -2227,6 +2227,13 @@ "sign_in": "Sign in" } }, + "debug": { + "header": "Debug Assistant", + "no_runs_found": "No runs found", + "older_run": "Older run", + "newer_run": "Newer run", + "start_debug_run": "Start debug run" + }, "expose": { "caption": "Expose", "headers": {