diff --git a/src/panels/config/automation/ha-automation-editor.ts b/src/panels/config/automation/ha-automation-editor.ts index 2d4e5a4afe..70c0d5a7f0 100644 --- a/src/panels/config/automation/ha-automation-editor.ts +++ b/src/panels/config/automation/ha-automation-editor.ts @@ -144,15 +144,9 @@ export class HaAutomationEditor extends KeyboardShortcutMixin(LitElement) { - ${stateObj - ? html` - + ${stateObj && this._config + ? html` + ${this.hass.localize( "ui.panel.config.automation.editor.show_trace" )}