diff --git a/src/panels/lovelace/editor/hui-edit-view.ts b/src/panels/lovelace/editor/hui-edit-view.ts index b73f3aca6a..0188a945c2 100644 --- a/src/panels/lovelace/editor/hui-edit-view.ts +++ b/src/panels/lovelace/editor/hui-edit-view.ts @@ -233,7 +233,7 @@ export class HuiEditView extends hassLocalizeLitMixin(LitElement) { } else { await updateViewConfig( this.hass!, - this.viewConfig!.id!, + String(this.viewConfig!.id!), this._config, "json" );