From 4c342bfa9c3863b838348a361334319285d50674 Mon Sep 17 00:00:00 2001 From: Erik Date: Fri, 29 Dec 2023 18:03:35 +0100 Subject: [PATCH 1/2] Improve message when an automation step was not executed --- src/components/trace/ha-trace-path-details.ts | 2 +- src/translations/en.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/trace/ha-trace-path-details.ts b/src/components/trace/ha-trace-path-details.ts index f87d9006ef4e..62748e6dfb47 100644 --- a/src/components/trace/ha-trace-path-details.ts +++ b/src/components/trace/ha-trace-path-details.ts @@ -240,7 +240,7 @@ export class HaTracePathDetails extends LitElement { if (index === -1) { return html`
${this.hass!.localize( - "ui.panel.config.automation.trace.path.node_not_tracked" + "ui.panel.config.automation.trace.path.step_not_executed" )}
`; } diff --git a/src/translations/en.json b/src/translations/en.json index e6890de1d793..d73adc57b34a 100644 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -2996,7 +2996,7 @@ "executed": "Executed: {time}", "error": "Error: {error}", "result": "Result:", - "node_not_tracked": "Node not tracked.", + "step_not_executed": "This step was not executed.", "no_logbook_entries": "No Logbook entries found for this step.", "no_variables_changed": "No variables changed", "unable_to_find_config": "Unable to find config" From 9512ddcdb43a9b64b64f8afa9c248365dec5cd07 Mon Sep 17 00:00:00 2001 From: Erik Date: Fri, 29 Dec 2023 18:15:32 +0100 Subject: [PATCH 2/2] Use step instead of node --- src/components/trace/ha-trace-path-details.ts | 2 +- src/translations/en.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/trace/ha-trace-path-details.ts b/src/components/trace/ha-trace-path-details.ts index 62748e6dfb47..75fce45a01e3 100644 --- a/src/components/trace/ha-trace-path-details.ts +++ b/src/components/trace/ha-trace-path-details.ts @@ -133,7 +133,7 @@ export class HaTracePathDetails extends LitElement { if (result?.enabled === false) { return html`${this.hass!.localize( - "ui.panel.config.automation.trace.path.disabled_node" + "ui.panel.config.automation.trace.path.disabled_step" )}`; } diff --git a/src/translations/en.json b/src/translations/en.json index d73adc57b34a..bb13c54ea417 100644 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -2988,10 +2988,10 @@ "blueprint_config": "Blueprint Config" }, "path": { - "choose": "Select a node on the left for more information.", + "choose": "Select a step on the left for more information.", "default_action_executed": "The default action was executed because no options matched.", - "no_further_execution": "This node was not executed and so no further trace information is available.", - "disabled_node": "This node was disabled and skipped during execution so no further trace information is available.", + "no_further_execution": "This step was not executed and so no further trace information is available.", + "disabled_step": "This step was disabled and skipped during execution so no further trace information is available.", "iteration": "Iteration {number}", "executed": "Executed: {time}", "error": "Error: {error}",