core/tests/components/lektrico/snapshots/test_button.ambr

141 lines
3.7 KiB
Plaintext

# serializer version: 1
# name: test_all_entities[button.1p7k_500006_charge_start-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'button',
'entity_category': <EntityCategory.CONFIG: 'config'>,
'entity_id': 'button.1p7k_500006_charge_start',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': None,
'original_icon': None,
'original_name': 'Charge start',
'platform': 'lektrico',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'charge_start',
'unique_id': '500006-charge_start',
'unit_of_measurement': None,
})
# ---
# name: test_all_entities[button.1p7k_500006_charge_start-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': '1p7k_500006 Charge start',
}),
'context': <ANY>,
'entity_id': 'button.1p7k_500006_charge_start',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'unknown',
})
# ---
# name: test_all_entities[button.1p7k_500006_charge_stop-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'button',
'entity_category': <EntityCategory.CONFIG: 'config'>,
'entity_id': 'button.1p7k_500006_charge_stop',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': None,
'original_icon': None,
'original_name': 'Charge stop',
'platform': 'lektrico',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'charge_stop',
'unique_id': '500006-charge_stop',
'unit_of_measurement': None,
})
# ---
# name: test_all_entities[button.1p7k_500006_charge_stop-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': '1p7k_500006 Charge stop',
}),
'context': <ANY>,
'entity_id': 'button.1p7k_500006_charge_stop',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'unknown',
})
# ---
# name: test_all_entities[button.1p7k_500006_restart-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'button',
'entity_category': <EntityCategory.CONFIG: 'config'>,
'entity_id': 'button.1p7k_500006_restart',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <ButtonDeviceClass.RESTART: 'restart'>,
'original_icon': None,
'original_name': 'Restart',
'platform': 'lektrico',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': None,
'unique_id': '500006-reboot',
'unit_of_measurement': None,
})
# ---
# name: test_all_entities[button.1p7k_500006_restart-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'restart',
'friendly_name': '1p7k_500006 Restart',
}),
'context': <ANY>,
'entity_id': 'button.1p7k_500006_restart',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'unknown',
})
# ---