diff --git a/gallery/src/pages/more-info/update.ts b/gallery/src/pages/more-info/update.ts index f23ae25780..ea531adc56 100644 --- a/gallery/src/pages/more-info/update.ts +++ b/gallery/src/pages/more-info/update.ts @@ -128,6 +128,11 @@ const ENTITIES = [ supported_features: base_attributes.supported_features + UPDATE_SUPPORT_RELEASE_NOTES, }), + getEntity("update", "update19", "on", { + ...base_attributes, + friendly_name: "Update with auto update", + auto_update: true, + }), ]; @customElement("demo-more-info-update") diff --git a/src/data/update.ts b/src/data/update.ts index 9f913111fe..f6f06da0dc 100644 --- a/src/data/update.ts +++ b/src/data/update.ts @@ -13,6 +13,7 @@ export const UPDATE_SUPPORT_BACKUP = 8; export const UPDATE_SUPPORT_RELEASE_NOTES = 16; interface UpdateEntityAttributes extends HassEntityAttributeBase { + auto_update: boolean | null; current_version: string | null; in_progress: boolean | number; latest_version: string | null; diff --git a/src/dialogs/more-info/controls/more-info-update.ts b/src/dialogs/more-info/controls/more-info-update.ts index 44d3d84840..8fe18779b2 100644 --- a/src/dialogs/more-info/controls/more-info-update.ts +++ b/src/dialogs/more-info/controls/more-info-update.ts @@ -130,14 +130,20 @@ class MoreInfoUpdate extends LitElement { : ""}