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`