diff --git a/src/panels/config/automation/trace/ha-automation-trace.ts b/src/panels/config/automation/trace/ha-automation-trace.ts index 53c7131dc379..c1796ad7791b 100644 --- a/src/panels/config/automation/trace/ha-automation-trace.ts +++ b/src/panels/config/automation/trace/ha-automation-trace.ts @@ -85,12 +85,24 @@ export class HaAutomationTrace extends LitElement { const title = stateObj?.attributes.friendly_name || this._entityId; + let devButtons: TemplateResult | string = ""; + if (__DEV__) { + devButtons = html`
+ + +
`; + } + const actionButtons = html` this._loadTraces()}> @@ -99,6 +111,7 @@ export class HaAutomationTrace extends LitElement { `; return html` + ${devButtons}