diff --git a/src/panels/config/storage/ha-config-section-storage.ts b/src/panels/config/storage/ha-config-section-storage.ts index 062e738f43dd..b2c448ac57c1 100644 --- a/src/panels/config/storage/ha-config-section-storage.ts +++ b/src/panels/config/storage/ha-config-section-storage.ts @@ -269,7 +269,7 @@ class HaConfigSectionStorage extends LitElement { private _addMount(): void { showMountViewDialog(this, { - reloadMounts: this._reloadMounts, + reloadMounts: () => this._reloadMounts(), }); } @@ -277,7 +277,7 @@ class HaConfigSectionStorage extends LitElement { ev.stopPropagation(); showMountViewDialog(this, { mount: (ev.currentTarget as any).mount, - reloadMounts: this._reloadMounts, + reloadMounts: () => this._reloadMounts(), }); }