Skip to content

Commit

Permalink
add reason
Browse files Browse the repository at this point in the history
  • Loading branch information
karwosts committed Apr 20, 2024
1 parent d51f0f3 commit 900b6a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/trace/hat-trace-timeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -797,6 +797,7 @@ export class HaAutomationTracer extends LitElement {
description: html`${this.hass.localize(
`ui.panel.config.automation.trace.messages.${message}`,
{
reason: this.trace.script_execution,
time: renderFinishedAt(),
executiontime: renderRuntime(),
}
Expand Down
2 changes: 1 addition & 1 deletion src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -3491,7 +3491,7 @@
"stopped_failed_single": "Stopped because only a single execution is allowed at {time} (runtime: {executiontime} seconds)",
"stopped_failed_max_runs": "Stopped because maximum number of parallel runs reached at {time} (runtime: {executiontime} seconds)",
"stopped_error": "Stopped because an error was encountered at {time} (runtime: {executiontime} seconds)",
"stopped_unknown_reason": "Stopped because of unknown reason at {time} (runtime: {executiontime} seconds)",
"stopped_unknown_reason": "Stopped because of unknown reason {reason} at {time} (runtime: {executiontime} seconds)",
"disabled": "(disabled)",
"triggered_by": "{triggeredBy, select, \n alias {{alias} triggered}\n other {Triggered} \n} {triggeredPath, select, \n trigger {by the {trigger}}\n other {manually} \n} at {time}",
"path_error": "Unable to extract path {path}. Download trace and report as bug."
Expand Down

0 comments on commit 900b6a8

Please sign in to comment.