mirror of https://github.com/home-assistant/core
114 lines
2.8 KiB
Plaintext
114 lines
2.8 KiB
Plaintext
# serializer version: 1
|
|
# name: test_states[light.front_light-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': set({
|
|
}),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
'supported_color_modes': list([
|
|
<ColorMode.ONOFF: 'onoff'>,
|
|
]),
|
|
}),
|
|
'config_entry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'light',
|
|
'entity_category': None,
|
|
'entity_id': 'light.front_light',
|
|
'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': 'Light',
|
|
'platform': 'ring',
|
|
'previous_unique_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'light',
|
|
'unique_id': '765432',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_states[light.front_light-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'attribution': 'Data provided by Ring.com',
|
|
'color_mode': None,
|
|
'friendly_name': 'Front Light',
|
|
'supported_color_modes': list([
|
|
<ColorMode.ONOFF: 'onoff'>,
|
|
]),
|
|
'supported_features': <LightEntityFeature: 0>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'light.front_light',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'off',
|
|
})
|
|
# ---
|
|
# name: test_states[light.internal_light-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': set({
|
|
}),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
'supported_color_modes': list([
|
|
<ColorMode.ONOFF: 'onoff'>,
|
|
]),
|
|
}),
|
|
'config_entry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'light',
|
|
'entity_category': None,
|
|
'entity_id': 'light.internal_light',
|
|
'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': 'Light',
|
|
'platform': 'ring',
|
|
'previous_unique_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'light',
|
|
'unique_id': '345678',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_states[light.internal_light-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'attribution': 'Data provided by Ring.com',
|
|
'color_mode': <ColorMode.ONOFF: 'onoff'>,
|
|
'friendly_name': 'Internal Light',
|
|
'supported_color_modes': list([
|
|
<ColorMode.ONOFF: 'onoff'>,
|
|
]),
|
|
'supported_features': <LightEntityFeature: 0>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'light.internal_light',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'on',
|
|
})
|
|
# ---
|