From f9814f35d19865bc8372a7982247e37e8195f889 Mon Sep 17 00:00:00 2001 From: Paul Bottein Date: Tue, 1 Oct 2024 15:11:54 +0200 Subject: [PATCH] Don't handle UI editor event when using yaml editor (#22176) --- src/panels/lovelace/editor/hui-element-editor.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/panels/lovelace/editor/hui-element-editor.ts b/src/panels/lovelace/editor/hui-element-editor.ts index 849d66bf9a..d7993d2b42 100644 --- a/src/panels/lovelace/editor/hui-element-editor.ts +++ b/src/panels/lovelace/editor/hui-element-editor.ts @@ -317,6 +317,7 @@ export abstract class HuiElementEditor< private _handleUIConfigChanged(ev: UIConfigChangedEvent) { ev.stopPropagation(); + if (!this.GUImode) return; const config = ev.detail.config; Object.keys(config).forEach((key) => { if (config[key] === undefined) {