core/tests/components/onewire/snapshots/test_select.ambr

63 lines
1.6 KiB
Plaintext

# serializer version: 1
# name: test_selects[select.28_111111111111_temperature_resolution-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'options': list([
'9',
'10',
'11',
'12',
]),
}),
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'select',
'entity_category': <EntityCategory.CONFIG: 'config'>,
'entity_id': 'select.28_111111111111_temperature_resolution',
'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': 'Temperature resolution',
'platform': 'onewire',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'tempres',
'unique_id': '/28.111111111111/tempres',
'unit_of_measurement': None,
})
# ---
# name: test_selects[select.28_111111111111_temperature_resolution-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_file': '/28.111111111111/tempres',
'friendly_name': '28.111111111111 Temperature resolution',
'options': list([
'9',
'10',
'11',
'12',
]),
'raw_value': 12.0,
}),
'context': <ANY>,
'entity_id': 'select.28_111111111111_temperature_resolution',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': '12',
})
# ---