From 57c5c1c1913ce5d3c76237fc5495c154523d537a Mon Sep 17 00:00:00 2001 From: Paul Bottein Date: Wed, 7 Sep 2022 14:23:42 +0200 Subject: [PATCH] Remove re order mode for blueprint automation editor (#13637) --- .../config/automation/ha-automation-editor.ts | 21 +++++++++++-------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/src/panels/config/automation/ha-automation-editor.ts b/src/panels/config/automation/ha-automation-editor.ts index 994a8e17a8..f61b1f6438 100644 --- a/src/panels/config/automation/ha-automation-editor.ts +++ b/src/panels/config/automation/ha-automation-editor.ts @@ -216,15 +216,18 @@ export class HaAutomationEditor extends KeyboardShortcutMixin(LitElement) { ` : ""} - - - ${this.hass.localize("ui.panel.config.automation.editor.re_order")} - - + ${this._config && !("use_blueprint" in this._config) + ? html` + ${this.hass.localize( + "ui.panel.config.automation.editor.re_order" + )} + + ` + : ""}