mirror of
https://github.com/home-assistant/core.git
synced 2026-09-25 07:51:46 -05:00
166 lines
5.2 KiB
Plaintext
166 lines
5.2 KiB
Plaintext
# serializer version: 1
|
|
# name: test_cover[light_payload0][cover.window_covering_device-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': list([
|
|
None,
|
|
]),
|
|
'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.window_covering_device',
|
|
'has_entity_name': False,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Window covering device',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <CoverDeviceClass.SHADE: 'shade'>,
|
|
'original_icon': None,
|
|
'original_name': 'Window covering device',
|
|
'platform': 'deconz',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': <CoverEntityFeature: 15>,
|
|
'translation_key': None,
|
|
'unique_id': '00:00:00:00:00:00:00:01-00',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_cover[light_payload0][cover.window_covering_device-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<CoverEntityStateAttribute.CURRENT_POSITION: 'current_position'>: 0,
|
|
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'shade',
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Window covering device',
|
|
<CoverEntityStateAttribute.IS_CLOSED: 'is_closed'>: True,
|
|
<EntityStateAttribute.SUPPORTED_FEATURES: 'supported_features'>: <CoverEntityFeature: 15>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'cover.window_covering_device',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'closed',
|
|
})
|
|
# ---
|
|
# name: test_level_controllable_output_cover[light_payload0][cover.vent-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': list([
|
|
None,
|
|
]),
|
|
'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.vent',
|
|
'has_entity_name': False,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Vent',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <CoverDeviceClass.DAMPER: 'damper'>,
|
|
'original_icon': None,
|
|
'original_name': 'Vent',
|
|
'platform': 'deconz',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': <CoverEntityFeature: 255>,
|
|
'translation_key': None,
|
|
'unique_id': '00:22:a3:00:00:00:00:00-01',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_level_controllable_output_cover[light_payload0][cover.vent-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<CoverEntityStateAttribute.CURRENT_POSITION: 'current_position'>: 5,
|
|
<CoverEntityStateAttribute.CURRENT_TILT_POSITION: 'current_tilt_position'>: 97,
|
|
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'damper',
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Vent',
|
|
<CoverEntityStateAttribute.IS_CLOSED: 'is_closed'>: False,
|
|
<EntityStateAttribute.SUPPORTED_FEATURES: 'supported_features'>: <CoverEntityFeature: 255>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'cover.vent',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'open',
|
|
})
|
|
# ---
|
|
# name: test_tilt_cover[light_payload0][cover.covering_device-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': list([
|
|
None,
|
|
]),
|
|
'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.covering_device',
|
|
'has_entity_name': False,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Covering device',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <CoverDeviceClass.SHADE: 'shade'>,
|
|
'original_icon': None,
|
|
'original_name': 'Covering device',
|
|
'platform': 'deconz',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': <CoverEntityFeature: 255>,
|
|
'translation_key': None,
|
|
'unique_id': '00:24:46:00:00:12:34:56-01',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_tilt_cover[light_payload0][cover.covering_device-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<CoverEntityStateAttribute.CURRENT_POSITION: 'current_position'>: 100,
|
|
<CoverEntityStateAttribute.CURRENT_TILT_POSITION: 'current_tilt_position'>: 100,
|
|
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'shade',
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Covering device',
|
|
<CoverEntityStateAttribute.IS_CLOSED: 'is_closed'>: False,
|
|
<EntityStateAttribute.SUPPORTED_FEATURES: 'supported_features'>: <CoverEntityFeature: 255>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'cover.covering_device',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'open',
|
|
})
|
|
# ---
|