diff --git a/custom_components/hitachi_yutaki/const.py b/custom_components/hitachi_yutaki/const.py index dc60280..3641a81 100644 --- a/custom_components/hitachi_yutaki/const.py +++ b/custom_components/hitachi_yutaki/const.py @@ -107,6 +107,7 @@ "outdoor_temp": 1091, "water_inlet_temp": 1092, "water_outlet_temp": 1093, + "water_target_temp": 1219, "water_flow": 1220, "pump_speed": 1221, "dhw_current_temp": 1080, diff --git a/custom_components/hitachi_yutaki/sensor.py b/custom_components/hitachi_yutaki/sensor.py index 0c6ac93..45db27e 100644 --- a/custom_components/hitachi_yutaki/sensor.py +++ b/custom_components/hitachi_yutaki/sensor.py @@ -82,6 +82,16 @@ class HitachiYutakiSensorEntityDescription(SensorEntityDescription): register_key="water_outlet_temp", needs_conversion=True, ), + HitachiYutakiSensorEntityDescription( + key="water_target_temp", + translation_key="water_target_temp", + description="Target water temperature", + device_class=SensorDeviceClass.TEMPERATURE, + state_class=SensorStateClass.MEASUREMENT, + native_unit_of_measurement=UnitOfTemperature.CELSIUS, + register_key="water_target_temp", + needs_conversion=True, + ), ) DHW_SENSORS: Final[tuple[HitachiYutakiSensorEntityDescription, ...]] = ( diff --git a/custom_components/hitachi_yutaki/translations/en.json b/custom_components/hitachi_yutaki/translations/en.json index a6cd1bc..285f6b3 100644 --- a/custom_components/hitachi_yutaki/translations/en.json +++ b/custom_components/hitachi_yutaki/translations/en.json @@ -69,6 +69,9 @@ "water_outlet_temp": { "name": "Water Outlet Temperature" }, + "water_target_temp": { + "name": "Corrected Target Temperature" + }, "water_flow": { "name": "Water Flow" }, diff --git a/custom_components/hitachi_yutaki/translations/fr.json b/custom_components/hitachi_yutaki/translations/fr.json index 0378a0b..73663e7 100644 --- a/custom_components/hitachi_yutaki/translations/fr.json +++ b/custom_components/hitachi_yutaki/translations/fr.json @@ -69,6 +69,9 @@ "water_outlet_temp": { "name": "Température de Sortie d'Eau" }, + "water_target_temp": { + "name": "Température Cible Corrigée" + }, "water_flow": { "name": "Débit d'Eau" },