diff --git a/src/panels/config/automation/action/ha-automation-action-row.ts b/src/panels/config/automation/action/ha-automation-action-row.ts index 12799d6491..4aa1ded268 100644 --- a/src/panels/config/automation/action/ha-automation-action-row.ts +++ b/src/panels/config/automation/action/ha-automation-action-row.ts @@ -191,6 +191,7 @@ export default class HaAutomationActionRow extends LitElement { slot="icons" @action=${this._handleAction} @click=${preventDefault} + fixed > - + - + + ${this.reOrderMode && !this.nested + ? html` + + ${this.hass.localize( + "ui.panel.config.automation.editor.re_order_mode.description_triggers" + )} + ${this.hass.localize( - "ui.panel.config.automation.editor.re_order_mode.description_triggers" + "ui.panel.config.automation.editor.re_order_mode.exit" )} - - ${this.hass.localize( - "ui.panel.config.automation.editor.re_order_mode.exit" - )} - - - ` - : null - } + + + ` + : null}
${repeat( this.triggers, @@ -141,8 +139,11 @@ export default class HaAutomationTrigger extends LitElement { ` )} -
- + - ${ - this.clipboard?.trigger - ? html` - ${this.hass.localize( - "ui.panel.config.automation.editor.triggers.paste" - )} - (${this.hass.localize( - `ui.panel.config.automation.editor.triggers.type.${this.clipboard.trigger.platform}.label` - )}) - ` - : nothing - } + ${this.clipboard?.trigger + ? html` + ${this.hass.localize( + "ui.panel.config.automation.editor.triggers.paste" + )} + (${this.hass.localize( + `ui.panel.config.automation.editor.triggers.type.${this.clipboard.trigger.platform}.label` + )}) + ` + : nothing} ${this._processedTypes(this.hass.localize).map( ([opt, label, icon]) => html`