mirror of
https://github.com/home-assistant/core.git
synced 2026-09-24 07:25:52 -05:00
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
162 lines
5.6 KiB
Plaintext
162 lines
5.6 KiB
Plaintext
# serializer version: 1
|
|
# name: test_dynamic_new_devices[climate.mock_aquarium_mock_heater-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': list([
|
|
None,
|
|
]),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
<ClimateEntityCapabilityAttribute.HVAC_MODES: 'hvac_modes'>: list([
|
|
<HVACMode.OFF: 'off'>,
|
|
<HVACMode.AUTO: 'auto'>,
|
|
]),
|
|
<ClimateEntityCapabilityAttribute.MAX_TEMP: 'max_temp'>: 32,
|
|
<ClimateEntityCapabilityAttribute.MIN_TEMP: 'min_temp'>: 18,
|
|
<ClimateEntityCapabilityAttribute.PRESET_MODES: 'preset_modes'>: list([
|
|
'none',
|
|
'bio_mode',
|
|
'smart_mode',
|
|
]),
|
|
<ClimateEntityCapabilityAttribute.TARGET_TEMP_STEP: 'target_temp_step'>: 0.5,
|
|
}),
|
|
'config_entry_id': <ANY>,
|
|
'config_subentry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'climate',
|
|
'entity_category': None,
|
|
'entity_id': 'climate.mock_aquarium_mock_heater',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': None,
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': None,
|
|
'original_icon': None,
|
|
'original_name': None,
|
|
'platform': 'eheimdigital',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': <ClimateEntityFeature: 401>,
|
|
'translation_key': 'heater',
|
|
'unique_id': '00:00:00:00:00:02',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_dynamic_new_devices[climate.mock_aquarium_mock_heater-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<ClimateEntityStateAttribute.CURRENT_TEMPERATURE: 'current_temperature'>: 24.2,
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Mock Heater',
|
|
<ClimateEntityStateAttribute.HVAC_ACTION: 'hvac_action'>: <HVACAction.HEATING: 'heating'>,
|
|
<ClimateEntityCapabilityAttribute.HVAC_MODES: 'hvac_modes'>: list([
|
|
<HVACMode.OFF: 'off'>,
|
|
<HVACMode.AUTO: 'auto'>,
|
|
]),
|
|
<ClimateEntityCapabilityAttribute.MAX_TEMP: 'max_temp'>: 32,
|
|
<ClimateEntityCapabilityAttribute.MIN_TEMP: 'min_temp'>: 18,
|
|
<ClimateEntityStateAttribute.PRESET_MODE: 'preset_mode'>: 'none',
|
|
<ClimateEntityCapabilityAttribute.PRESET_MODES: 'preset_modes'>: list([
|
|
'none',
|
|
'bio_mode',
|
|
'smart_mode',
|
|
]),
|
|
<EntityStateAttribute.SUPPORTED_FEATURES: 'supported_features'>: <ClimateEntityFeature: 401>,
|
|
<ClimateEntityCapabilityAttribute.TARGET_TEMP_STEP: 'target_temp_step'>: 0.5,
|
|
<ClimateEntityStateAttribute.TARGET_TEMPERATURE: 'temperature'>: 25.5,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'climate.mock_aquarium_mock_heater',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'auto',
|
|
})
|
|
# ---
|
|
# name: test_setup_heater[climate.mock_aquarium_mock_heater-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': list([
|
|
None,
|
|
]),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
<ClimateEntityCapabilityAttribute.HVAC_MODES: 'hvac_modes'>: list([
|
|
<HVACMode.OFF: 'off'>,
|
|
<HVACMode.AUTO: 'auto'>,
|
|
]),
|
|
<ClimateEntityCapabilityAttribute.MAX_TEMP: 'max_temp'>: 32,
|
|
<ClimateEntityCapabilityAttribute.MIN_TEMP: 'min_temp'>: 18,
|
|
<ClimateEntityCapabilityAttribute.PRESET_MODES: 'preset_modes'>: list([
|
|
'none',
|
|
'bio_mode',
|
|
'smart_mode',
|
|
]),
|
|
<ClimateEntityCapabilityAttribute.TARGET_TEMP_STEP: 'target_temp_step'>: 0.5,
|
|
}),
|
|
'config_entry_id': <ANY>,
|
|
'config_subentry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'climate',
|
|
'entity_category': None,
|
|
'entity_id': 'climate.mock_aquarium_mock_heater',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': None,
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': None,
|
|
'original_icon': None,
|
|
'original_name': None,
|
|
'platform': 'eheimdigital',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': <ClimateEntityFeature: 401>,
|
|
'translation_key': 'heater',
|
|
'unique_id': '00:00:00:00:00:02',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_setup_heater[climate.mock_aquarium_mock_heater-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<ClimateEntityStateAttribute.CURRENT_TEMPERATURE: 'current_temperature'>: 24.2,
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Mock Heater',
|
|
<ClimateEntityStateAttribute.HVAC_ACTION: 'hvac_action'>: <HVACAction.HEATING: 'heating'>,
|
|
<ClimateEntityCapabilityAttribute.HVAC_MODES: 'hvac_modes'>: list([
|
|
<HVACMode.OFF: 'off'>,
|
|
<HVACMode.AUTO: 'auto'>,
|
|
]),
|
|
<ClimateEntityCapabilityAttribute.MAX_TEMP: 'max_temp'>: 32,
|
|
<ClimateEntityCapabilityAttribute.MIN_TEMP: 'min_temp'>: 18,
|
|
<ClimateEntityStateAttribute.PRESET_MODE: 'preset_mode'>: 'none',
|
|
<ClimateEntityCapabilityAttribute.PRESET_MODES: 'preset_modes'>: list([
|
|
'none',
|
|
'bio_mode',
|
|
'smart_mode',
|
|
]),
|
|
<EntityStateAttribute.SUPPORTED_FEATURES: 'supported_features'>: <ClimateEntityFeature: 401>,
|
|
<ClimateEntityCapabilityAttribute.TARGET_TEMP_STEP: 'target_temp_step'>: 0.5,
|
|
<ClimateEntityStateAttribute.TARGET_TEMPERATURE: 'temperature'>: 25.5,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'climate.mock_aquarium_mock_heater',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'auto',
|
|
})
|
|
# ---
|