53 lines
1.3 KiB
Plaintext
53 lines
1.3 KiB
Plaintext
# serializer version: 1
|
|
# name: test_setup[cover.fake_name-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': set({
|
|
}),
|
|
'area_id': None,
|
|
'capabilities': None,
|
|
'config_entry_id': <ANY>,
|
|
'config_subentry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'cover',
|
|
'entity_category': None,
|
|
'entity_id': 'cover.fake_name',
|
|
'has_entity_name': False,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <CoverDeviceClass.BLIND: 'blind'>,
|
|
'original_icon': None,
|
|
'original_name': 'fake_name',
|
|
'platform': 'fritzbox',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': <CoverEntityFeature: 15>,
|
|
'translation_key': None,
|
|
'unique_id': '12345 1234567',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_setup[cover.fake_name-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'current_position': 100,
|
|
'device_class': 'blind',
|
|
'friendly_name': 'fake_name',
|
|
'supported_features': <CoverEntityFeature: 15>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'cover.fake_name',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'open',
|
|
})
|
|
# ---
|