mirror of https://github.com/home-assistant/core
102 lines
2.7 KiB
Plaintext
102 lines
2.7 KiB
Plaintext
# serializer version: 1
|
|
# name: test_camera[config_entry_options0-][camera.home-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': set({
|
|
}),
|
|
'area_id': None,
|
|
'capabilities': None,
|
|
'config_entry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'camera',
|
|
'entity_category': None,
|
|
'entity_id': 'camera.home',
|
|
'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': 'axis',
|
|
'previous_unique_id': None,
|
|
'supported_features': <CameraEntityFeature: 2>,
|
|
'translation_key': None,
|
|
'unique_id': '00:40:8c:12:34:56-camera',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_camera[config_entry_options0-][camera.home-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'access_token': '1',
|
|
'entity_picture': '/api/camera_proxy/camera.home?token=1',
|
|
'friendly_name': 'home',
|
|
'frontend_stream_type': <StreamType.HLS: 'hls'>,
|
|
'supported_features': <CameraEntityFeature: 2>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'camera.home',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'idle',
|
|
})
|
|
# ---
|
|
# name: test_camera[config_entry_options1-streamprofile=profile_1][camera.home-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': set({
|
|
}),
|
|
'area_id': None,
|
|
'capabilities': None,
|
|
'config_entry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'camera',
|
|
'entity_category': None,
|
|
'entity_id': 'camera.home',
|
|
'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': 'axis',
|
|
'previous_unique_id': None,
|
|
'supported_features': <CameraEntityFeature: 2>,
|
|
'translation_key': None,
|
|
'unique_id': '00:40:8c:12:34:56-camera',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_camera[config_entry_options1-streamprofile=profile_1][camera.home-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'access_token': '1',
|
|
'entity_picture': '/api/camera_proxy/camera.home?token=1',
|
|
'friendly_name': 'home',
|
|
'frontend_stream_type': <StreamType.HLS: 'hls'>,
|
|
'supported_features': <CameraEntityFeature: 2>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'camera.home',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'idle',
|
|
})
|
|
# ---
|