From 86b26383d098c7890a3a9b6a3ca5f2e062d3a90d Mon Sep 17 00:00:00 2001 From: Dermot Duffy Date: Thu, 23 Dec 2021 09:08:16 -0800 Subject: [PATCH] Don't trim configs as we now allow empty sections. --- src/editor.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/editor.ts b/src/editor.ts index 7683c523..7d3d7ba5 100644 --- a/src/editor.ts +++ b/src/editor.ts @@ -604,7 +604,6 @@ export class FrigateCardEditor extends LitElement implements LovelaceCardEditor } else { setConfigValue(newConfig, key, value); } - trimConfig(newConfig); this._config = newConfig; fireEvent(this, 'config-changed', { config: this._config }); }