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) {