mirror of
https://github.com/home-assistant/core.git
synced 2026-08-28 02:24:46 -05:00
65 lines
2.4 KiB
Plaintext
65 lines
2.4 KiB
Plaintext
# serializer version: 1
|
|
# name: test_all_entities[update.airgradient_firmware-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': list([
|
|
None,
|
|
]),
|
|
'area_id': None,
|
|
'capabilities': None,
|
|
'config_entry_id': <ANY>,
|
|
'config_subentry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'update',
|
|
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
|
|
'entity_id': 'update.airgradient_firmware',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Firmware',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <UpdateDeviceClass.FIRMWARE: 'firmware'>,
|
|
'original_icon': None,
|
|
'original_name': 'Firmware',
|
|
'platform': 'airgradient',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': None,
|
|
'unique_id': '84fce612f5b8-update',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_all_entities[update.airgradient_firmware-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<UpdateEntityStateAttribute.AUTO_UPDATE: 'auto_update'>: False,
|
|
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'firmware',
|
|
<UpdateEntityStateAttribute.DISPLAY_PRECISION: 'display_precision'>: 0,
|
|
<EntityStateAttribute.ENTITY_PICTURE: 'entity_picture'>: '/api/brands/integration/airgradient/icon.png',
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Airgradient Firmware',
|
|
<UpdateEntityStateAttribute.IN_PROGRESS: 'in_progress'>: False,
|
|
<UpdateEntityStateAttribute.INSTALLED_VERSION: 'installed_version'>: '3.1.1',
|
|
<UpdateEntityStateAttribute.LATEST_VERSION: 'latest_version'>: '3.1.4',
|
|
<UpdateEntityStateAttribute.RELEASE_SUMMARY: 'release_summary'>: None,
|
|
<UpdateEntityStateAttribute.RELEASE_URL: 'release_url'>: None,
|
|
<UpdateEntityStateAttribute.SKIPPED_VERSION: 'skipped_version'>: None,
|
|
<EntityStateAttribute.SUPPORTED_FEATURES: 'supported_features'>: <UpdateEntityFeature: 0>,
|
|
<UpdateEntityStateAttribute.TITLE: 'title'>: None,
|
|
<UpdateEntityStateAttribute.UPDATE_PERCENTAGE: 'update_percentage'>: None,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'update.airgradient_firmware',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'on',
|
|
})
|
|
# ---
|