Skip to content

Commit

Permalink
Improve message when an automation step was not executed (#19185)
Browse files Browse the repository at this point in the history
* Improve message when an automation step was not executed

* Use step instead of node
  • Loading branch information
emontnemery authored Dec 30, 2023
1 parent 7e6d974 commit 3c2fed5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/components/trace/ha-trace-path-details.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)}`;
}

Expand Down Expand Up @@ -240,7 +240,7 @@ export class HaTracePathDetails extends LitElement {
if (index === -1) {
return html`<div class="padded-box">
${this.hass!.localize(
"ui.panel.config.automation.trace.path.node_not_tracked"
"ui.panel.config.automation.trace.path.step_not_executed"
)}
</div>`;
}
Expand Down
8 changes: 4 additions & 4 deletions src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -3114,15 +3114,15 @@
"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}",
"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"
Expand Down

0 comments on commit 3c2fed5

Please sign in to comment.