From d1988bfa2272723e45815e4a7a6223bfae6c9d7c Mon Sep 17 00:00:00 2001 From: Erik Date: Fri, 29 Dec 2023 17:59:16 +0100 Subject: [PATCH] Fix iteration index when displaying changed variables --- src/components/trace/ha-trace-path-details.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/trace/ha-trace-path-details.ts b/src/components/trace/ha-trace-path-details.ts index f87d9006ef4e..bd827283728b 100644 --- a/src/components/trace/ha-trace-path-details.ts +++ b/src/components/trace/ha-trace-path-details.ts @@ -212,7 +212,7 @@ export class HaTracePathDetails extends LitElement {
${data.map( (trace, idx) => html` - ${idx > 0 + ${data.length > 1 ? html`

${this.hass!.localize( "ui.panel.config.automation.trace.path.iteration",