mirror of https://github.com/home-assistant/core
49 lines
1.2 KiB
Plaintext
49 lines
1.2 KiB
Plaintext
# serializer version: 1
|
|
# name: test_entity[switch.prise-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': set({
|
|
}),
|
|
'area_id': None,
|
|
'capabilities': None,
|
|
'config_entry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'switch',
|
|
'entity_category': None,
|
|
'entity_id': 'switch.prise',
|
|
'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': None,
|
|
'platform': 'netatmo',
|
|
'previous_unique_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': None,
|
|
'unique_id': '12:34:56:80:00:12:ac:f2-DeviceType.NLP',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_entity[switch.prise-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'attribution': 'Data provided by Netatmo',
|
|
'friendly_name': 'Prise',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'switch.prise',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'on',
|
|
})
|
|
# ---
|