core/tests/components/elmax/snapshots/test_switch.ambr

48 lines
1.1 KiB
Plaintext

# serializer version: 1
# name: test_switches[switch.uscita_02-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.uscita_02',
'has_entity_name': False,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': None,
'original_icon': None,
'original_name': 'USCITA 02',
'platform': 'elmax',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': None,
'unique_id': '13762559c53cd093171-uscita-1',
'unit_of_measurement': None,
})
# ---
# name: test_switches[switch.uscita_02-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'USCITA 02',
}),
'context': <ANY>,
'entity_id': 'switch.uscita_02',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'on',
})
# ---