mirror of
https://github.com/home-assistant/core.git
synced 2026-08-21 13:50:31 +01:00
72 lines
2.4 KiB
Plaintext
72 lines
2.4 KiB
Plaintext
# serializer version: 1
|
|
# name: test_all_entities[climate.ecodan_zone_1-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': list([
|
|
None,
|
|
]),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
<ClimateEntityCapabilityAttribute.HVAC_MODES: 'hvac_modes'>: list([
|
|
<HVACMode.OFF: 'off'>,
|
|
<HVACMode.HEAT: 'heat'>,
|
|
]),
|
|
<ClimateEntityCapabilityAttribute.MAX_TEMP: 'max_temp'>: 30,
|
|
<ClimateEntityCapabilityAttribute.MIN_TEMP: 'min_temp'>: 10,
|
|
<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.ecodan_zone_1',
|
|
'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': 'melcloud',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': <ClimateEntityFeature: 385>,
|
|
'translation_key': None,
|
|
'unique_id': 'ABC123456-1',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_all_entities[climate.ecodan_zone_1-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<ClimateEntityStateAttribute.CURRENT_TEMPERATURE: 'current_temperature'>: 22.5,
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Ecodan Zone 1',
|
|
<ClimateEntityStateAttribute.HVAC_ACTION: 'hvac_action'>: <HVACAction.HEATING: 'heating'>,
|
|
<ClimateEntityCapabilityAttribute.HVAC_MODES: 'hvac_modes'>: list([
|
|
<HVACMode.OFF: 'off'>,
|
|
<HVACMode.HEAT: 'heat'>,
|
|
]),
|
|
<ClimateEntityCapabilityAttribute.MAX_TEMP: 'max_temp'>: 30,
|
|
<ClimateEntityCapabilityAttribute.MIN_TEMP: 'min_temp'>: 10,
|
|
'status': <HVACMode.HEAT: 'heat'>,
|
|
<EntityStateAttribute.SUPPORTED_FEATURES: 'supported_features'>: <ClimateEntityFeature: 385>,
|
|
<ClimateEntityCapabilityAttribute.TARGET_TEMP_STEP: 'target_temp_step'>: 0.5,
|
|
<ClimateEntityStateAttribute.TARGET_TEMPERATURE: 'temperature'>: 21.0,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'climate.ecodan_zone_1',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'heat',
|
|
})
|
|
# ---
|