diff --git a/gallery/src/pages/more-info/update.ts b/gallery/src/pages/more-info/update.ts index 65d8e0bf7f..872a7b2e41 100644 --- a/gallery/src/pages/more-info/update.ts +++ b/gallery/src/pages/more-info/update.ts @@ -133,6 +133,12 @@ const ENTITIES = [ friendly_name: "Update with auto update", auto_update: true, }), + getEntity("update", "update20", "on", { + ...base_attributes, + in_progress: true, + title: undefined, + friendly_name: "Installing without title", + }), ]; @customElement("demo-more-info-update") diff --git a/src/dialogs/more-info/controls/more-info-update.ts b/src/dialogs/more-info/controls/more-info-update.ts index 57c1ba574b..e8a2ed89d8 100644 --- a/src/dialogs/more-info/controls/more-info-update.ts +++ b/src/dialogs/more-info/controls/more-info-update.ts @@ -56,13 +56,10 @@ class MoreInfoUpdate extends LitElement { >` : html`` : ""} - ${this.stateObj.attributes.title - ? html`

${this.stateObj.attributes.title}

` - : ""} +

${this.stateObj.attributes.title}

${this._error ? html`${this._error}` : ""} -
${this.hass.localize(