mirror of
https://github.com/home-assistant/core.git
synced 2026-09-27 18:08:37 -04:00
1106 lines
30 KiB
Plaintext
1106 lines
30 KiB
Plaintext
# serializer version: 1
|
|
# name: test_all_button_entities[button.ct_backup_create_snapshot-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': 'button',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'button.ct_backup_create_snapshot',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Create snapshot',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': None,
|
|
'original_icon': None,
|
|
'original_name': 'Create snapshot',
|
|
'platform': 'proxmoxve',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'snapshot_create',
|
|
'unique_id': '1234_201_snapshot_create',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.ct_backup_create_snapshot-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'ct-backup Create snapshot',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'button.ct_backup_create_snapshot',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'unknown',
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.ct_backup_restart-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': 'button',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'button.ct_backup_restart',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Restart',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <ButtonDeviceClass.RESTART: 'restart'>,
|
|
'original_icon': None,
|
|
'original_name': 'Restart',
|
|
'platform': 'proxmoxve',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': None,
|
|
'unique_id': '1234_201_restart',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.ct_backup_restart-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'restart',
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'ct-backup Restart',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'button.ct_backup_restart',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'unknown',
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.ct_backup_start-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': 'button',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'button.ct_backup_start',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Start',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': None,
|
|
'original_icon': None,
|
|
'original_name': 'Start',
|
|
'platform': 'proxmoxve',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'start',
|
|
'unique_id': '1234_201_start',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.ct_backup_start-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'ct-backup Start',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'button.ct_backup_start',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'unknown',
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.ct_backup_stop-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': 'button',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'button.ct_backup_stop',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Stop',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': None,
|
|
'original_icon': None,
|
|
'original_name': 'Stop',
|
|
'platform': 'proxmoxve',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'stop',
|
|
'unique_id': '1234_201_stop',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.ct_backup_stop-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'ct-backup Stop',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'button.ct_backup_stop',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'unknown',
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.ct_nginx_create_snapshot-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': 'button',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'button.ct_nginx_create_snapshot',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Create snapshot',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': None,
|
|
'original_icon': None,
|
|
'original_name': 'Create snapshot',
|
|
'platform': 'proxmoxve',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'snapshot_create',
|
|
'unique_id': '1234_200_snapshot_create',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.ct_nginx_create_snapshot-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'ct-nginx Create snapshot',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'button.ct_nginx_create_snapshot',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'unknown',
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.ct_nginx_restart-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': 'button',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'button.ct_nginx_restart',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Restart',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <ButtonDeviceClass.RESTART: 'restart'>,
|
|
'original_icon': None,
|
|
'original_name': 'Restart',
|
|
'platform': 'proxmoxve',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': None,
|
|
'unique_id': '1234_200_restart',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.ct_nginx_restart-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'restart',
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'ct-nginx Restart',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'button.ct_nginx_restart',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'unknown',
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.ct_nginx_start-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': 'button',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'button.ct_nginx_start',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Start',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': None,
|
|
'original_icon': None,
|
|
'original_name': 'Start',
|
|
'platform': 'proxmoxve',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'start',
|
|
'unique_id': '1234_200_start',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.ct_nginx_start-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'ct-nginx Start',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'button.ct_nginx_start',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'unknown',
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.ct_nginx_stop-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': 'button',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'button.ct_nginx_stop',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Stop',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': None,
|
|
'original_icon': None,
|
|
'original_name': 'Stop',
|
|
'platform': 'proxmoxve',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'stop',
|
|
'unique_id': '1234_200_stop',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.ct_nginx_stop-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'ct-nginx Stop',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'button.ct_nginx_stop',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'unknown',
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.pve1_restart-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': 'button',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'button.pve1_restart',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Restart',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <ButtonDeviceClass.RESTART: 'restart'>,
|
|
'original_icon': None,
|
|
'original_name': 'Restart',
|
|
'platform': 'proxmoxve',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': None,
|
|
'unique_id': '1234_node/pve1_reboot',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.pve1_restart-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'restart',
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'pve1 Restart',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'button.pve1_restart',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'unknown',
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.pve1_shut_down-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': 'button',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'button.pve1_shut_down',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Shut down',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': None,
|
|
'original_icon': None,
|
|
'original_name': 'Shut down',
|
|
'platform': 'proxmoxve',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'shutdown',
|
|
'unique_id': '1234_node/pve1_shutdown',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.pve1_shut_down-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'pve1 Shut down',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'button.pve1_shut_down',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'unknown',
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.pve1_start_all-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': 'button',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'button.pve1_start_all',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Start all',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': None,
|
|
'original_icon': None,
|
|
'original_name': 'Start all',
|
|
'platform': 'proxmoxve',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'start_all',
|
|
'unique_id': '1234_node/pve1_start_all',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.pve1_start_all-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'pve1 Start all',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'button.pve1_start_all',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'unknown',
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.pve1_stop_all-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': 'button',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'button.pve1_stop_all',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Stop all',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': None,
|
|
'original_icon': None,
|
|
'original_name': 'Stop all',
|
|
'platform': 'proxmoxve',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'stop_all',
|
|
'unique_id': '1234_node/pve1_stop_all',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.pve1_stop_all-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'pve1 Stop all',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'button.pve1_stop_all',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'unknown',
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.pve1_suspend_all-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': 'button',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'button.pve1_suspend_all',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Suspend all',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': None,
|
|
'original_icon': None,
|
|
'original_name': 'Suspend all',
|
|
'platform': 'proxmoxve',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'suspend_all',
|
|
'unique_id': '1234_node/pve1_suspend_all',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.pve1_suspend_all-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'pve1 Suspend all',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'button.pve1_suspend_all',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'unknown',
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.vm_web-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': 'button',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'button.vm_web',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': None,
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': None,
|
|
'original_icon': None,
|
|
'original_name': None,
|
|
'platform': 'proxmoxve',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'resume',
|
|
'unique_id': '1234_100_resume',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.vm_web-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'vm-web',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'button.vm_web',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'unknown',
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.vm_web_create_snapshot-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': 'button',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'button.vm_web_create_snapshot',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Create snapshot',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': None,
|
|
'original_icon': None,
|
|
'original_name': 'Create snapshot',
|
|
'platform': 'proxmoxve',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'snapshot_create',
|
|
'unique_id': '1234_100_snapshot_create',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.vm_web_create_snapshot-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'vm-web Create snapshot',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'button.vm_web_create_snapshot',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'unknown',
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.vm_web_pause-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': 'button',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'button.vm_web_pause',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Pause',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': None,
|
|
'original_icon': None,
|
|
'original_name': 'Pause',
|
|
'platform': 'proxmoxve',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'pause',
|
|
'unique_id': '1234_100_pause',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.vm_web_pause-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'vm-web Pause',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'button.vm_web_pause',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'unknown',
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.vm_web_reset-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': 'button',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'button.vm_web_reset',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Reset',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': None,
|
|
'original_icon': None,
|
|
'original_name': 'Reset',
|
|
'platform': 'proxmoxve',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'reset',
|
|
'unique_id': '1234_100_reset',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.vm_web_reset-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'vm-web Reset',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'button.vm_web_reset',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'unknown',
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.vm_web_restart-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': 'button',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'button.vm_web_restart',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Restart',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <ButtonDeviceClass.RESTART: 'restart'>,
|
|
'original_icon': None,
|
|
'original_name': 'Restart',
|
|
'platform': 'proxmoxve',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': None,
|
|
'unique_id': '1234_100_restart',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.vm_web_restart-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'restart',
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'vm-web Restart',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'button.vm_web_restart',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'unknown',
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.vm_web_shut_down-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': 'button',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'button.vm_web_shut_down',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Shut down',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': None,
|
|
'original_icon': None,
|
|
'original_name': 'Shut down',
|
|
'platform': 'proxmoxve',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'shutdown',
|
|
'unique_id': '1234_100_shutdown',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.vm_web_shut_down-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'vm-web Shut down',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'button.vm_web_shut_down',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'unknown',
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.vm_web_start-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': 'button',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'button.vm_web_start',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Start',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': None,
|
|
'original_icon': None,
|
|
'original_name': 'Start',
|
|
'platform': 'proxmoxve',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'start',
|
|
'unique_id': '1234_100_start',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.vm_web_start-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'vm-web Start',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'button.vm_web_start',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'unknown',
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.vm_web_stop-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': 'button',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'button.vm_web_stop',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Stop',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': None,
|
|
'original_icon': None,
|
|
'original_name': 'Stop',
|
|
'platform': 'proxmoxve',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'stop',
|
|
'unique_id': '1234_100_stop',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.vm_web_stop-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'vm-web Stop',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'button.vm_web_stop',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'unknown',
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.vm_web_suspend-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': 'button',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'button.vm_web_suspend',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Suspend',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': None,
|
|
'original_icon': None,
|
|
'original_name': 'Suspend',
|
|
'platform': 'proxmoxve',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'hibernate',
|
|
'unique_id': '1234_100_hibernate',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_all_button_entities[button.vm_web_suspend-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'vm-web Suspend',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'button.vm_web_suspend',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'unknown',
|
|
})
|
|
# ---
|