From fd0b503a2150cb356a85dc6f875de0d195368df0 Mon Sep 17 00:00:00 2001 From: karwosts <32912880+karwosts@users.noreply.github.com> Date: Mon, 16 Mar 2026 05:27:15 -0700 Subject: [PATCH] Show errors loading automation config (#30158) * Show errors loading automation config * Update src/panels/config/automation/ha-automation-editor.ts Co-authored-by: Petar Petrov * prettier --------- Co-authored-by: Petar Petrov --- .../config/automation/ha-automation-editor.ts | 25 ++++++++++++------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/src/panels/config/automation/ha-automation-editor.ts b/src/panels/config/automation/ha-automation-editor.ts index 58baf4add4..505e58726e 100644 --- a/src/panels/config/automation/ha-automation-editor.ts +++ b/src/panels/config/automation/ha-automation-editor.ts @@ -674,6 +674,19 @@ export class HaAutomationEditor extends AutomationScriptEditorMixin${alertText}`, + }); + goBack("/config"); + return; + } const entity = this._entityRegistry.find( (ent) => ent.platform === "automation" && ent.unique_id === this.automationId @@ -685,15 +698,9 @@ export class HaAutomationEditor extends AutomationScriptEditorMixin