core/tests/components/elgato/snapshots/test_light.ambr

351 lines
8.3 KiB
Plaintext

# serializer version: 1
# name: test_light_state_temperature[key-light-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'brightness': 54,
'color_mode': <ColorMode.COLOR_TEMP: 'color_temp'>,
'color_temp': 297,
'color_temp_kelvin': 3367,
'friendly_name': 'Frenck',
'hs_color': tuple(
27.316,
47.743,
),
'max_color_temp_kelvin': 6993,
'max_mireds': 344,
'min_color_temp_kelvin': 2906,
'min_mireds': 143,
'rgb_color': tuple(
255,
189,
133,
),
'supported_color_modes': list([
<ColorMode.COLOR_TEMP: 'color_temp'>,
]),
'supported_features': <LightEntityFeature: 0>,
'xy_color': tuple(
0.464,
0.377,
),
}),
'context': <ANY>,
'entity_id': 'light.frenck',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'on',
})
# ---
# name: test_light_state_temperature[key-light-state].1
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'max_color_temp_kelvin': 6993,
'max_mireds': 344,
'min_color_temp_kelvin': 2906,
'min_mireds': 143,
'supported_color_modes': list([
<ColorMode.COLOR_TEMP: 'color_temp'>,
]),
}),
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'light',
'entity_category': None,
'entity_id': 'light.frenck',
'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': 'elgato',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': None,
'unique_id': 'CN11A1A00001',
'unit_of_measurement': None,
})
# ---
# name: test_light_state_temperature[key-light-state].2
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'configuration_url': None,
'connections': set({
tuple(
'mac',
'aa:bb:cc:dd:ee:ff',
),
}),
'disabled_by': None,
'entry_type': None,
'hw_version': '53',
'id': <ANY>,
'identifiers': set({
tuple(
'elgato',
'CN11A1A00001',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Elgato',
'model': 'Elgato Key Light',
'model_id': None,
'name': 'Frenck',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': 'CN11A1A00001',
'suggested_area': None,
'sw_version': '1.0.3 (192)',
'via_device_id': None,
})
# ---
# name: test_light_state_temperature[light-strip-state-color-temperature]
StateSnapshot({
'attributes': ReadOnlyDict({
'brightness': 54,
'color_mode': <ColorMode.COLOR_TEMP: 'color_temp'>,
'color_temp': 297,
'color_temp_kelvin': 3367,
'friendly_name': 'Frenck',
'hs_color': tuple(
27.316,
47.743,
),
'max_color_temp_kelvin': 6535,
'max_mireds': 285,
'min_color_temp_kelvin': 3508,
'min_mireds': 153,
'rgb_color': tuple(
255,
189,
133,
),
'supported_color_modes': list([
<ColorMode.COLOR_TEMP: 'color_temp'>,
<ColorMode.HS: 'hs'>,
]),
'supported_features': <LightEntityFeature: 0>,
'xy_color': tuple(
0.464,
0.377,
),
}),
'context': <ANY>,
'entity_id': 'light.frenck',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'on',
})
# ---
# name: test_light_state_temperature[light-strip-state-color-temperature].1
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'max_color_temp_kelvin': 6535,
'max_mireds': 285,
'min_color_temp_kelvin': 3508,
'min_mireds': 153,
'supported_color_modes': list([
<ColorMode.COLOR_TEMP: 'color_temp'>,
<ColorMode.HS: 'hs'>,
]),
}),
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'light',
'entity_category': None,
'entity_id': 'light.frenck',
'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': 'elgato',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': None,
'unique_id': 'CN11A1A00001',
'unit_of_measurement': None,
})
# ---
# name: test_light_state_temperature[light-strip-state-color-temperature].2
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'configuration_url': None,
'connections': set({
tuple(
'mac',
'aa:bb:cc:dd:ee:ff',
),
}),
'disabled_by': None,
'entry_type': None,
'hw_version': '53',
'id': <ANY>,
'identifiers': set({
tuple(
'elgato',
'CN11A1A00001',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Elgato',
'model': 'Elgato Light Strip',
'model_id': None,
'name': 'Frenck',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': 'CN11A1A00001',
'suggested_area': None,
'sw_version': '1.0.3 (192)',
'via_device_id': None,
})
# ---
# name: test_light_state_temperature[light-strip-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'brightness': 128,
'color_mode': <ColorMode.HS: 'hs'>,
'color_temp': None,
'color_temp_kelvin': None,
'friendly_name': 'Frenck',
'hs_color': tuple(
358.0,
6.0,
),
'max_color_temp_kelvin': 6535,
'max_mireds': 285,
'min_color_temp_kelvin': 3508,
'min_mireds': 153,
'rgb_color': tuple(
255,
240,
240,
),
'supported_color_modes': list([
<ColorMode.COLOR_TEMP: 'color_temp'>,
<ColorMode.HS: 'hs'>,
]),
'supported_features': <LightEntityFeature: 0>,
'xy_color': tuple(
0.339,
0.328,
),
}),
'context': <ANY>,
'entity_id': 'light.frenck',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'on',
})
# ---
# name: test_light_state_temperature[light-strip-state].1
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'max_color_temp_kelvin': 6535,
'max_mireds': 285,
'min_color_temp_kelvin': 3508,
'min_mireds': 153,
'supported_color_modes': list([
<ColorMode.COLOR_TEMP: 'color_temp'>,
<ColorMode.HS: 'hs'>,
]),
}),
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'light',
'entity_category': None,
'entity_id': 'light.frenck',
'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': 'elgato',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': None,
'unique_id': 'CN11A1A00001',
'unit_of_measurement': None,
})
# ---
# name: test_light_state_temperature[light-strip-state].2
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'configuration_url': None,
'connections': set({
tuple(
'mac',
'aa:bb:cc:dd:ee:ff',
),
}),
'disabled_by': None,
'entry_type': None,
'hw_version': '53',
'id': <ANY>,
'identifiers': set({
tuple(
'elgato',
'CN11A1A00001',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Elgato',
'model': 'Elgato Light Strip',
'model_id': None,
'name': 'Frenck',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': 'CN11A1A00001',
'suggested_area': None,
'sw_version': '1.0.3 (192)',
'via_device_id': None,
})
# ---