mirror of
https://github.com/home-assistant/core.git
synced 2026-12-02 19:57:03 -04:00
Add missing temperature unit to Overkiz DHW target temperature numbers (#195396)
This commit is contained in:
@@ -103,6 +103,7 @@ NUMBER_DESCRIPTIONS: list[OverkizNumberDescription] = [
|
||||
command=OverkizCommand.SET_TARGET_DHW_TEMPERATURE,
|
||||
native_min_value=50,
|
||||
native_max_value=65,
|
||||
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
|
||||
min_value_state_name=OverkizState.CORE_MINIMAL_TEMPERATURE_MANUAL_MODE,
|
||||
max_value_state_name=OverkizState.CORE_MAXIMAL_TEMPERATURE_MANUAL_MODE,
|
||||
entity_category=EntityCategory.CONFIG,
|
||||
@@ -114,6 +115,7 @@ NUMBER_DESCRIPTIONS: list[OverkizNumberDescription] = [
|
||||
command=OverkizCommand.SET_WATER_TARGET_TEMPERATURE,
|
||||
native_min_value=50,
|
||||
native_max_value=65,
|
||||
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
|
||||
min_value_state_name=OverkizState.CORE_MINIMAL_TEMPERATURE_MANUAL_MODE,
|
||||
max_value_state_name=OverkizState.CORE_MAXIMAL_TEMPERATURE_MANUAL_MODE,
|
||||
entity_category=EntityCategory.CONFIG,
|
||||
|
||||
@@ -594,7 +594,7 @@
|
||||
'supported_features': 0,
|
||||
'translation_key': None,
|
||||
'unique_id': 'io://1234-5678-5643/109286#1-core:TargetDHWTemperatureState',
|
||||
'unit_of_measurement': None,
|
||||
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_number_entities_snapshot[cloud_atlantic_cozytouch.json][number.my_home_patio_water_heating_target_temperature-state]
|
||||
@@ -606,6 +606,7 @@
|
||||
<NumberEntityCapabilityAttribute.MIN: 'min'>: 50.0,
|
||||
<NumberEntityCapabilityAttribute.MODE: 'mode'>: <NumberMode.AUTO: 'auto'>,
|
||||
<NumberEntityCapabilityAttribute.STEP: 'step'>: 1.0,
|
||||
<EntityStateAttribute.UNIT_OF_MEASUREMENT: 'unit_of_measurement'>: <UnitOfTemperature.CELSIUS: '°C'>,
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'number.my_home_patio_water_heating_target_temperature',
|
||||
@@ -654,7 +655,7 @@
|
||||
'supported_features': 0,
|
||||
'translation_key': None,
|
||||
'unique_id': 'io://1234-5678-5643/109286#1-core:WaterTargetTemperatureState',
|
||||
'unit_of_measurement': None,
|
||||
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
|
||||
})
|
||||
# ---
|
||||
# name: test_number_entities_snapshot[cloud_atlantic_cozytouch.json][number.my_home_patio_water_heating_water_target_temperature-state]
|
||||
@@ -666,6 +667,7 @@
|
||||
<NumberEntityCapabilityAttribute.MIN: 'min'>: 50.0,
|
||||
<NumberEntityCapabilityAttribute.MODE: 'mode'>: <NumberMode.AUTO: 'auto'>,
|
||||
<NumberEntityCapabilityAttribute.STEP: 'step'>: 1.0,
|
||||
<EntityStateAttribute.UNIT_OF_MEASUREMENT: 'unit_of_measurement'>: <UnitOfTemperature.CELSIUS: '°C'>,
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'number.my_home_patio_water_heating_water_target_temperature',
|
||||
|
||||
Reference in New Issue
Block a user