rename update entity to version

This commit is contained in:
mib1185
2025-06-22 12:32:16 +00:00
committed by Michael
parent 7a327679cd
commit d0abcd0986
2 changed files with 8 additions and 8 deletions

View File

@@ -71,7 +71,7 @@
}, },
"update": { "update": {
"update": { "update": {
"name": "Immich server" "name": "Version"
} }
} }
} }

View File

@@ -1,5 +1,5 @@
# serializer version: 1 # serializer version: 1
# name: test_update[update.someone_immich_server-entry] # name: test_update[update.someone_version-entry]
EntityRegistryEntrySnapshot({ EntityRegistryEntrySnapshot({
'aliases': set({ 'aliases': set({
}), }),
@@ -11,8 +11,8 @@
'device_id': <ANY>, 'device_id': <ANY>,
'disabled_by': None, 'disabled_by': None,
'domain': 'update', 'domain': 'update',
'entity_category': <EntityCategory.CONFIG: 'config'>, 'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
'entity_id': 'update.someone_immich_server', 'entity_id': 'update.someone_version',
'has_entity_name': True, 'has_entity_name': True,
'hidden_by': None, 'hidden_by': None,
'icon': None, 'icon': None,
@@ -24,7 +24,7 @@
}), }),
'original_device_class': None, 'original_device_class': None,
'original_icon': None, 'original_icon': None,
'original_name': 'Immich server', 'original_name': 'Version',
'platform': 'immich', 'platform': 'immich',
'previous_unique_id': None, 'previous_unique_id': None,
'suggested_object_id': None, 'suggested_object_id': None,
@@ -34,13 +34,13 @@
'unit_of_measurement': None, 'unit_of_measurement': None,
}) })
# --- # ---
# name: test_update[update.someone_immich_server-state] # name: test_update[update.someone_version-state]
StateSnapshot({ StateSnapshot({
'attributes': ReadOnlyDict({ 'attributes': ReadOnlyDict({
'auto_update': False, 'auto_update': False,
'display_precision': 0, 'display_precision': 0,
'entity_picture': 'https://brands.home-assistant.io/_/immich/icon.png', 'entity_picture': 'https://brands.home-assistant.io/_/immich/icon.png',
'friendly_name': 'Someone Immich server', 'friendly_name': 'Someone Version',
'in_progress': False, 'in_progress': False,
'installed_version': 'v1.134.0', 'installed_version': 'v1.134.0',
'latest_version': 'v1.135.3', 'latest_version': 'v1.135.3',
@@ -52,7 +52,7 @@
'update_percentage': None, 'update_percentage': None,
}), }),
'context': <ANY>, 'context': <ANY>,
'entity_id': 'update.someone_immich_server', 'entity_id': 'update.someone_version',
'last_changed': <ANY>, 'last_changed': <ANY>,
'last_reported': <ANY>, 'last_reported': <ANY>,
'last_updated': <ANY>, 'last_updated': <ANY>,