mirror of https://github.com/home-assistant/core
57 lines
1.4 KiB
Plaintext
57 lines
1.4 KiB
Plaintext
# serializer version: 1
|
|
# name: test_lights[light.fakespa_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.fakespa_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': 'balboa',
|
|
'previous_unique_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'only_light',
|
|
'unique_id': 'FakeSpa-Light-c0ffee',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_lights[light.fakespa_light-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'color_mode': None,
|
|
'friendly_name': 'FakeSpa Light',
|
|
'supported_color_modes': list([
|
|
<ColorMode.ONOFF: 'onoff'>,
|
|
]),
|
|
'supported_features': <LightEntityFeature: 0>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'light.fakespa_light',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'off',
|
|
})
|
|
# ---
|