diff --git a/src/panels/lovelace/editor/view-editor/hui-view-background-editor.ts b/src/panels/lovelace/editor/view-editor/hui-view-background-editor.ts index 87d02d2399e4..626c9b8efffb 100644 --- a/src/panels/lovelace/editor/view-editor/hui-view-background-editor.ts +++ b/src/panels/lovelace/editor/view-editor/hui-view-background-editor.ts @@ -18,14 +18,14 @@ const cropOptions: CropOptions = { @customElement("hui-view-background-editor") export class HuiViewBackgroundEditor extends LitElement { - @property({ attribute: false }) public hass!: HomeAssistant; - - @state() private _config!: LovelaceViewConfig; - set config(config: LovelaceViewConfig) { this._config = config; } + @property({ attribute: false }) public hass!: HomeAssistant; + + @state() private _config!: LovelaceViewConfig; + protected render() { if (!this.hass) { return nothing;