Skip to content

Commit

Permalink
feat: Corrected water target temp
Browse files Browse the repository at this point in the history
  • Loading branch information
alepee committed Nov 26, 2024
1 parent 7baebed commit c5982f9
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/hitachi_yutaki/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
10 changes: 10 additions & 0 deletions custom_components/hitachi_yutaki/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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, ...]] = (
Expand Down
3 changes: 3 additions & 0 deletions custom_components/hitachi_yutaki/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@
"water_outlet_temp": {
"name": "Water Outlet Temperature"
},
"water_target_temp": {
"name": "Corrected Target Temperature"
},
"water_flow": {
"name": "Water Flow"
},
Expand Down
3 changes: 3 additions & 0 deletions custom_components/hitachi_yutaki/translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down

0 comments on commit c5982f9

Please sign in to comment.