mirror of
https://github.com/home-assistant/core.git
synced 2026-09-10 15:41:22 +01:00
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
87 lines
3.1 KiB
Plaintext
87 lines
3.1 KiB
Plaintext
# serializer version: 1
|
|
# name: test_climate_entities[climate.test_controller_residential_thermostat_v2-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': list([
|
|
None,
|
|
]),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
<ClimateEntityCapabilityAttribute.FAN_MODES: 'fan_modes'>: list([
|
|
'auto',
|
|
'on',
|
|
'circulate',
|
|
]),
|
|
<ClimateEntityCapabilityAttribute.HVAC_MODES: 'hvac_modes'>: list([
|
|
<HVACMode.OFF: 'off'>,
|
|
<HVACMode.HEAT: 'heat'>,
|
|
<HVACMode.COOL: 'cool'>,
|
|
<HVACMode.HEAT_COOL: 'heat_cool'>,
|
|
]),
|
|
<ClimateEntityCapabilityAttribute.MAX_TEMP: 'max_temp'>: 95,
|
|
<ClimateEntityCapabilityAttribute.MIN_TEMP: 'min_temp'>: 45,
|
|
}),
|
|
'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.test_controller_residential_thermostat_v2',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Residential Thermostat V2',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': None,
|
|
'original_icon': None,
|
|
'original_name': 'Residential Thermostat V2',
|
|
'platform': 'control4',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': <ClimateEntityFeature: 395>,
|
|
'translation_key': 'thermostat',
|
|
'unique_id': '123',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_climate_entities[climate.test_controller_residential_thermostat_v2-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<ClimateEntityStateAttribute.CURRENT_HUMIDITY: 'current_humidity'>: 45,
|
|
<ClimateEntityStateAttribute.CURRENT_TEMPERATURE: 'current_temperature'>: 72,
|
|
<ClimateEntityStateAttribute.FAN_MODE: 'fan_mode'>: 'auto',
|
|
<ClimateEntityCapabilityAttribute.FAN_MODES: 'fan_modes'>: list([
|
|
'auto',
|
|
'on',
|
|
'circulate',
|
|
]),
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Test Controller Residential Thermostat V2',
|
|
<ClimateEntityStateAttribute.HVAC_ACTION: 'hvac_action'>: <HVACAction.OFF: 'off'>,
|
|
<ClimateEntityCapabilityAttribute.HVAC_MODES: 'hvac_modes'>: list([
|
|
<HVACMode.OFF: 'off'>,
|
|
<HVACMode.HEAT: 'heat'>,
|
|
<HVACMode.COOL: 'cool'>,
|
|
<HVACMode.HEAT_COOL: 'heat_cool'>,
|
|
]),
|
|
<ClimateEntityCapabilityAttribute.MAX_TEMP: 'max_temp'>: 95,
|
|
<ClimateEntityCapabilityAttribute.MIN_TEMP: 'min_temp'>: 45,
|
|
<EntityStateAttribute.SUPPORTED_FEATURES: 'supported_features'>: <ClimateEntityFeature: 395>,
|
|
<ClimateEntityStateAttribute.TARGET_TEMP_HIGH: 'target_temp_high'>: None,
|
|
<ClimateEntityStateAttribute.TARGET_TEMP_LOW: 'target_temp_low'>: None,
|
|
<ClimateEntityStateAttribute.TARGET_TEMPERATURE: 'temperature'>: 68,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'climate.test_controller_residential_thermostat_v2',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'heat',
|
|
})
|
|
# ---
|