diff --git a/gallery/src/pages/more-info/update.ts b/gallery/src/pages/more-info/update.ts index ea531adc56..65d8e0bf7f 100644 --- a/gallery/src/pages/more-info/update.ts +++ b/gallery/src/pages/more-info/update.ts @@ -18,7 +18,7 @@ import { LONG_TEXT } from "../../data/text"; const base_attributes = { title: "Awesome", - current_version: "1.2.2", + installed_version: "1.2.2", latest_version: "1.2.3", release_url: "https://home-assistant.io", supported_features: UPDATE_SUPPORT_INSTALL, @@ -50,7 +50,7 @@ const ENTITIES = [ }), getEntity("update", "update5", "off", { ...base_attributes, - current_version: "1.2.3", + installed_version: "1.2.3", friendly_name: "No update", }), getEntity("update", "update6", "off", { @@ -102,8 +102,8 @@ const ENTITIES = [ }), getEntity("update", "update14", "off", { ...base_attributes, - current_version: null, - friendly_name: "Update without current_version", + installed_version: null, + friendly_name: "Update without installed_version", }), getEntity("update", "update15", "off", { ...base_attributes, diff --git a/src/data/update.ts b/src/data/update.ts index f6f06da0dc..1818f3d4d7 100644 --- a/src/data/update.ts +++ b/src/data/update.ts @@ -14,7 +14,7 @@ export const UPDATE_SUPPORT_RELEASE_NOTES = 16; interface UpdateEntityAttributes extends HassEntityAttributeBase { auto_update: boolean | null; - current_version: string | null; + installed_version: string | null; in_progress: boolean | number; latest_version: string | null; release_summary: 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 8fe18779b2..b48dfcf8a9 100644 --- a/src/dialogs/more-info/controls/more-info-update.ts +++ b/src/dialogs/more-info/controls/more-info-update.ts @@ -66,11 +66,11 @@ class MoreInfoUpdate extends LitElement {