Просмотр исходного кода

translations!: add inlet_temperature and outlet_temperature sensor translations

- some "water_inlet_temperature", "inlet_water_temperature" etc also
  merged to the translated names with migration

Issue #1708
Jason Rumney 1 день назад
Родитель
Сommit
ba2a71f073
60 измененных файлов с 226 добавлено и 58 удалено
  1. 1 1
      .github/pull_request_template.md
  2. 30 0
      custom_components/tuya_local/__init__.py
  3. 1 1
      custom_components/tuya_local/config_flow.py
  4. 2 2
      custom_components/tuya_local/devices/aquastrong_hex_heatpump.yaml
  5. 1 1
      custom_components/tuya_local/devices/arcelik_ahphmm_comboheatpump.yaml
  6. 1 1
      custom_components/tuya_local/devices/axen_ks100w_heatpump.yaml
  7. 2 2
      custom_components/tuya_local/devices/brustec_br80_poolheater.yaml
  8. 2 2
      custom_components/tuya_local/devices/cbc_pool_bp_heatpump.yaml
  9. 1 1
      custom_components/tuya_local/devices/envirosun_es330m9_waterheater.yaml
  10. 2 2
      custom_components/tuya_local/devices/fisher_water_heatpump.yaml
  11. 1 1
      custom_components/tuya_local/devices/hy_combo_heatpump.yaml
  12. 2 2
      custom_components/tuya_local/devices/hydrotherm_dynamic_x8_water_heaterv6.yaml
  13. 2 2
      custom_components/tuya_local/devices/intaflo_intabloc_airwaterheatpump.yaml
  14. 2 2
      custom_components/tuya_local/devices/its_45hd_heatpump.yaml
  15. 1 1
      custom_components/tuya_local/devices/madimack_eco_heatpump_9kW.yaml
  16. 1 1
      custom_components/tuya_local/devices/madimack_elite_v3_heatpump.yaml
  17. 1 1
      custom_components/tuya_local/devices/madimack_elite_v3_heatpump_updated.yaml
  18. 1 1
      custom_components/tuya_local/devices/madimack_elitev4_heatpump.yaml
  19. 2 2
      custom_components/tuya_local/devices/mountfield_azuro_poolheatpump.yaml
  20. 2 2
      custom_components/tuya_local/devices/poolex_icespa51_heatpump.yaml
  21. 1 1
      custom_components/tuya_local/devices/poolsana_heatpump.yaml
  22. 2 7
      custom_components/tuya_local/devices/poolsana_inverprestige_pro_heatpump.yaml
  23. 1 1
      custom_components/tuya_local/devices/powerworld_pw040_waterheatpump.yaml
  24. 2 2
      custom_components/tuya_local/devices/powerworld_pw58330_waterheater.yaml
  25. 3 3
      custom_components/tuya_local/devices/powerworld_pw58410_hvaconly.yaml
  26. 2 2
      custom_components/tuya_local/devices/powerworld_pw58410_waterheater.yaml
  27. 2 2
      custom_components/tuya_local/devices/powerworld_pw58474_waterheater.yaml
  28. 1 1
      custom_components/tuya_local/devices/proenergy_pe08_poolheater.yaml
  29. 2 2
      custom_components/tuya_local/devices/sanden_gaua45hpd_heatpumpcontroller.yaml
  30. 2 2
      custom_components/tuya_local/devices/solareast_aurora2_heatpump.yaml
  31. 1 1
      custom_components/tuya_local/devices/steinbach_silent_mini_heatpump.yaml
  32. 1 1
      custom_components/tuya_local/devices/swimfun_inverboost_poolheatpump.yaml
  33. 1 2
      custom_components/tuya_local/devices/thermann_r290_waterheater.yaml
  34. 1 1
      custom_components/tuya_local/devices/turbro_75000btu_poolheatpump.yaml
  35. 1 1
      custom_components/tuya_local/devices/water_chiller_fre1l4.yaml
  36. 1 1
      custom_components/tuya_local/devices/waterco_electroheat_eco-vs_heatpump.yaml
  37. 6 0
      custom_components/tuya_local/icons.json
  38. 6 0
      custom_components/tuya_local/translations/bg.json
  39. 6 0
      custom_components/tuya_local/translations/ca.json
  40. 6 0
      custom_components/tuya_local/translations/cs.json
  41. 6 0
      custom_components/tuya_local/translations/de.json
  42. 6 0
      custom_components/tuya_local/translations/el.json
  43. 6 0
      custom_components/tuya_local/translations/en.json
  44. 6 0
      custom_components/tuya_local/translations/es.json
  45. 6 0
      custom_components/tuya_local/translations/fr.json
  46. 6 0
      custom_components/tuya_local/translations/hu.json
  47. 6 0
      custom_components/tuya_local/translations/id.json
  48. 6 0
      custom_components/tuya_local/translations/it.json
  49. 6 0
      custom_components/tuya_local/translations/ja.json
  50. 6 0
      custom_components/tuya_local/translations/no-NB.json
  51. 6 0
      custom_components/tuya_local/translations/pl.json
  52. 6 0
      custom_components/tuya_local/translations/pt-BR.json
  53. 6 0
      custom_components/tuya_local/translations/pt-PT.json
  54. 6 0
      custom_components/tuya_local/translations/ro.json
  55. 6 0
      custom_components/tuya_local/translations/ru.json
  56. 6 0
      custom_components/tuya_local/translations/sv.json
  57. 6 0
      custom_components/tuya_local/translations/uk.json
  58. 6 0
      custom_components/tuya_local/translations/ur.json
  59. 6 0
      custom_components/tuya_local/translations/zh-Hans.json
  60. 6 0
      custom_components/tuya_local/translations/zh-Hant.json

+ 1 - 1
.github/pull_request_template.md

@@ -3,7 +3,7 @@
 - Please do not update DEVICES.md or ACKNOWLEDGEMENTS.md as part of your submission, as these files have high risk of conflicts.
 - Please do not update DEVICES.md or ACKNOWLEDGEMENTS.md as part of your submission, as these files have high risk of conflicts.
 - Once submitted, do not force push your branch unless it is necessary for conflict resolution.
 - Once submitted, do not force push your branch unless it is necessary for conflict resolution.
 - If submitting a code change, please submit a bug report first making it clear what the issue is that you are fixing, and link the report to your PR.
 - If submitting a code change, please submit a bug report first making it clear what the issue is that you are fixing, and link the report to your PR.
-- If using AI to code your changes, you must understand what the AI has done. Vibe coded contributions without understanding by the submitter take up a lot of review time and will be deprioritized.
+- **If using AI to code your changes, you must understand what the AI has done.** Vibe coded contributions without understanding by the submitter take up a lot of review time and will be deprioritized.
 - PRs with all CI errors and warnings fixed will be prioritized, so please fix what you can (unless the error is outside the scope of your change).
 - PRs with all CI errors and warnings fixed will be prioritized, so please fix what you can (unless the error is outside the scope of your change).
 
 
 Please describe in simple terms what you are submitting. Do not paste a multi-page AI generated rambling story here, as the maintainers do not have time to read that.
 Please describe in simple terms what you are submitting. Do not paste a multi-page AI generated rambling story here, as the maintainers do not have time to read that.

+ 30 - 0
custom_components/tuya_local/__init__.py

@@ -1054,6 +1054,36 @@ async def async_migrate_entry(hass, entry: ConfigEntry):
         await async_migrate_entries(hass, entry.entry_id, update_unique_id13_23)
         await async_migrate_entries(hass, entry.entry_id, update_unique_id13_23)
         hass.config_entries.async_update_entry(entry, minor_version=23)
         hass.config_entries.async_update_entry(entry, minor_version=23)
 
 
+    if entry.version == 13 and entry.minor_version < 24:
+        # Migrate unique ids of existing entities to new id taking into
+        # account translation_key, and standardising naming
+        device_id = get_device_unique_id(entry)
+        conf_file = await hass.async_add_executor_job(
+            get_config,
+            entry.data[CONF_TYPE],
+        )
+        if conf_file is None:
+            _LOGGER.error(
+                NOT_FOUND,
+                entry.data[CONF_TYPE],
+            )
+            return False
+
+        @callback
+        def update_unique_id13_24(entity_entry):
+            """Update the unique id of an entity entry."""
+            # Standardistion of entity naming to use translation_key
+            replacements = {
+                "sensor_inlet_water_temperature": "sensor_inlet_temperature",
+                "sensor_water_inlet_temperature": "sensor_inlet_temperature",
+                "sensor_outlet_water_temperature": "sensor_outlet_temperature",
+                "sensor_water_outlet_temperature": "sensor_outlet_temperature",
+            }
+            return replace_unique_ids(entity_entry, device_id, conf_file, replacements)
+
+        await async_migrate_entries(hass, entry.entry_id, update_unique_id13_24)
+        hass.config_entries.async_update_entry(entry, minor_version=24)
+
     return True
     return True
 
 
 
 

+ 1 - 1
custom_components/tuya_local/config_flow.py

@@ -53,7 +53,7 @@ DEVICE_DETAILS_URL = (
 
 
 class ConfigFlowHandler(ConfigFlow, domain=DOMAIN):
 class ConfigFlowHandler(ConfigFlow, domain=DOMAIN):
     VERSION = 13
     VERSION = 13
-    MINOR_VERSION = 23
+    MINOR_VERSION = 24
     CONNECTION_CLASS = CONN_CLASS_LOCAL_PUSH
     CONNECTION_CLASS = CONN_CLASS_LOCAL_PUSH
     device = None
     device = None
     data = {}
     data = {}

+ 2 - 2
custom_components/tuya_local/devices/aquastrong_hex_heatpump.yaml

@@ -99,7 +99,7 @@ entities:
         class: measurement
         class: measurement
 
 
   - entity: sensor
   - entity: sensor
-    name: Inlet temperature
+    translation_key: inlet_temperature
     category: diagnostic
     category: diagnostic
     class: temperature
     class: temperature
     deprecated: climate.current_temperature  # 2026-07-12
     deprecated: climate.current_temperature  # 2026-07-12
@@ -111,7 +111,7 @@ entities:
         class: measurement
         class: measurement
 
 
   - entity: sensor
   - entity: sensor
-    name: Outlet temperature
+    translation_key: outlet_temperature
     category: diagnostic
     category: diagnostic
     class: temperature
     class: temperature
     dps:
     dps:

+ 1 - 1
custom_components/tuya_local/devices/arcelik_ahphmm_comboheatpump.yaml

@@ -319,7 +319,7 @@ entities:
         name: sensor
         name: sensor
 
 
   - entity: sensor
   - entity: sensor
-    name: Outlet temperature
+    translation_key: outlet_temperature
     class: temperature
     class: temperature
     category: diagnostic
     category: diagnostic
     dps:
     dps:

+ 1 - 1
custom_components/tuya_local/devices/axen_ks100w_heatpump.yaml

@@ -215,7 +215,7 @@ entities:
           - dps_val: auto_dhw
           - dps_val: auto_dhw
             value: hotwater_auto
             value: hotwater_auto
   - entity: sensor
   - entity: sensor
-    name: Outlet temperature
+    translation_key: outlet_temperature
     class: temperature
     class: temperature
     category: diagnostic
     category: diagnostic
     hidden: true
     hidden: true

+ 2 - 2
custom_components/tuya_local/devices/brustec_br80_poolheater.yaml

@@ -176,7 +176,7 @@ entities:
             value: F
             value: F
           - value: C
           - value: C
   - entity: sensor
   - entity: sensor
-    name: Inlet temperature
+    translation_key: inlet_temperature
     class: temperature
     class: temperature
     category: diagnostic
     category: diagnostic
     dps:
     dps:
@@ -192,7 +192,7 @@ entities:
             value: F
             value: F
           - value: C
           - value: C
   - entity: sensor
   - entity: sensor
-    name: Outlet temperature
+    translation_key: outlet_temperature
     class: temperature
     class: temperature
     category: diagnostic
     category: diagnostic
     dps:
     dps:

+ 2 - 2
custom_components/tuya_local/devices/cbc_pool_bp_heatpump.yaml

@@ -49,7 +49,7 @@ entities:
             value: quiet
             value: quiet
 
 
   - entity: sensor
   - entity: sensor
-    name: Inlet temperature
+    translation_key: inlet_temperature
     class: temperature
     class: temperature
     category: diagnostic
     category: diagnostic
     dps:
     dps:
@@ -88,7 +88,7 @@ entities:
         unit: C
         unit: C
         class: measurement
         class: measurement
   - entity: sensor
   - entity: sensor
-    name: Outlet water temperature
+    translation_key: outlet_temperature
     class: temperature
     class: temperature
     category: diagnostic
     category: diagnostic
     dps:
     dps:

+ 1 - 1
custom_components/tuya_local/devices/envirosun_es330m9_waterheater.yaml

@@ -134,7 +134,7 @@ entities:
         unit: F
         unit: F
         class: measurement
         class: measurement
   - entity: sensor
   - entity: sensor
-    name: Inlet temperature
+    translation_key: inlet_temperature
     class: temperature
     class: temperature
     category: diagnostic
     category: diagnostic
     dps:
     dps:

+ 2 - 2
custom_components/tuya_local/devices/fisher_water_heatpump.yaml

@@ -135,7 +135,7 @@ entities:
         type: bitfield
         type: bitfield
         name: fault_code
         name: fault_code
   - entity: sensor
   - entity: sensor
-    name: Inlet temperature
+    translation_key: inlet_temperature
     class: temperature
     class: temperature
     category: diagnostic
     category: diagnostic
     dps:
     dps:
@@ -154,7 +154,7 @@ entities:
         unit: C
         unit: C
         class: measurement
         class: measurement
   - entity: sensor
   - entity: sensor
-    name: Outlet temperature
+    translation_key: outlet_temperature
     class: temperature
     class: temperature
     category: diagnostic
     category: diagnostic
     dps:
     dps:

+ 1 - 1
custom_components/tuya_local/devices/hy_combo_heatpump.yaml

@@ -323,7 +323,7 @@ entities:
         mapping:
         mapping:
           - scale: 10
           - scale: 10
   - entity: sensor
   - entity: sensor
-    name: Inlet temperature
+    translation_key: inlet_temperature
     class: temperature
     class: temperature
     category: diagnostic
     category: diagnostic
     dps:
     dps:

+ 2 - 2
custom_components/tuya_local/devices/hydrotherm_dynamic_x8_water_heaterv6.yaml

@@ -128,7 +128,7 @@ entities:
         unit: C
         unit: C
         class: measurement
         class: measurement
   - entity: sensor
   - entity: sensor
-    name: Inlet temperature
+    translation_key: inlet_temperature
     class: temperature
     class: temperature
     category: diagnostic
     category: diagnostic
     dps:
     dps:
@@ -138,7 +138,7 @@ entities:
         unit: C
         unit: C
         class: measurement
         class: measurement
   - entity: sensor
   - entity: sensor
-    name: Outlet temperature
+    translation_key: outlet_temperature
     class: temperature
     class: temperature
     category: diagnostic
     category: diagnostic
     dps:
     dps:

+ 2 - 2
custom_components/tuya_local/devices/intaflo_intabloc_airwaterheatpump.yaml

@@ -176,7 +176,7 @@ entities:
         type: bitfield
         type: bitfield
         name: fault_code
         name: fault_code
   - entity: sensor
   - entity: sensor
-    name: Inlet temperature
+    translation_key: inlet_temperature
     class: temperature
     class: temperature
     category: diagnostic
     category: diagnostic
     dps:
     dps:
@@ -186,7 +186,7 @@ entities:
         unit: C
         unit: C
         class: measurement
         class: measurement
   - entity: sensor
   - entity: sensor
-    name: Outlet temperature
+    translation_key: outlet_temperature
     class: temperature
     class: temperature
     category: diagnostic
     category: diagnostic
     dps:
     dps:

+ 2 - 2
custom_components/tuya_local/devices/its_45hd_heatpump.yaml

@@ -142,7 +142,7 @@ entities:
         unit: C
         unit: C
         class: measurement
         class: measurement
   - entity: sensor
   - entity: sensor
-    name: Inlet temperature
+    translation_key: inlet_temperature
     class: temperature
     class: temperature
     category: diagnostic
     category: diagnostic
     deprecated: climate.current_temperature  # 2026-07-12
     deprecated: climate.current_temperature  # 2026-07-12
@@ -153,7 +153,7 @@ entities:
         unit: C
         unit: C
         class: measurement
         class: measurement
   - entity: sensor
   - entity: sensor
-    name: Outlet temperature
+    translation_key: outlet_temperature
     class: temperature
     class: temperature
     category: diagnostic
     category: diagnostic
     dps:
     dps:

+ 1 - 1
custom_components/tuya_local/devices/madimack_eco_heatpump_9kW.yaml

@@ -141,7 +141,7 @@ entities:
         class: measurement
         class: measurement
 
 
   - entity: sensor
   - entity: sensor
-    name: Outlet temperature
+    translation_key: outlet_temperature
     class: temperature
     class: temperature
     category: diagnostic
     category: diagnostic
     dps:
     dps:

+ 1 - 1
custom_components/tuya_local/devices/madimack_elite_v3_heatpump.yaml

@@ -148,7 +148,7 @@ entities:
             value: C
             value: C
   - entity: sensor
   - entity: sensor
     category: diagnostic
     category: diagnostic
-    name: Outlet water temperature
+    translation_key: outlet_temperature
     class: temperature
     class: temperature
     dps:
     dps:
       - id: 25
       - id: 25

+ 1 - 1
custom_components/tuya_local/devices/madimack_elite_v3_heatpump_updated.yaml

@@ -110,7 +110,7 @@ entities:
             value: C
             value: C
   - entity: sensor
   - entity: sensor
     category: diagnostic
     category: diagnostic
-    name: Outlet water temperature
+    translation_key: outlet_temperature
     class: temperature
     class: temperature
     dps:
     dps:
       - id: 114
       - id: 114

+ 1 - 1
custom_components/tuya_local/devices/madimack_elitev4_heatpump.yaml

@@ -136,7 +136,7 @@ entities:
             value: C
             value: C
   - entity: sensor
   - entity: sensor
     category: diagnostic
     category: diagnostic
-    name: Outlet water temperature
+    translation_key: outlet_temperature
     class: temperature
     class: temperature
     dps:
     dps:
       - id: 114
       - id: 114

+ 2 - 2
custom_components/tuya_local/devices/mountfield_azuro_poolheatpump.yaml

@@ -97,7 +97,7 @@ entities:
         unit: "°C"
         unit: "°C"
   - entity: sensor
   - entity: sensor
     class: temperature
     class: temperature
-    name: Inlet temperature
+    translation_key: inlet_temperature
     category: diagnostic
     category: diagnostic
     dps:
     dps:
       - id: 101
       - id: 101
@@ -107,7 +107,7 @@ entities:
         unit: "°C"
         unit: "°C"
   - entity: sensor
   - entity: sensor
     class: temperature
     class: temperature
-    name: Outlet temperature
+    translation_key: outlet_temperature
     category: diagnostic
     category: diagnostic
     dps:
     dps:
       - id: 105
       - id: 105

+ 2 - 2
custom_components/tuya_local/devices/poolex_icespa51_heatpump.yaml

@@ -108,7 +108,7 @@ entities:
         optional: true
         optional: true
         name: switch
         name: switch
   - entity: sensor
   - entity: sensor
-    name: Inlet temperature
+    translation_key: inlet_temperature
     class: temperature
     class: temperature
     category: diagnostic
     category: diagnostic
     dps:
     dps:
@@ -118,7 +118,7 @@ entities:
         unit: C
         unit: C
         class: measurement
         class: measurement
   - entity: sensor
   - entity: sensor
-    name: Outlet temperature
+    translation_key: outlet_temperature
     class: temperature
     class: temperature
     category: diagnostic
     category: diagnostic
     dps:
     dps:

+ 1 - 1
custom_components/tuya_local/devices/poolsana_heatpump.yaml

@@ -67,7 +67,7 @@ entities:
             value: comfort
             value: comfort
   - entity: sensor
   - entity: sensor
     class: temperature
     class: temperature
-    name: Outlet temperature
+    translation_key: outlet_temperature
     category: diagnostic
     category: diagnostic
     dps:
     dps:
       - id: 25
       - id: 25

+ 2 - 7
custom_components/tuya_local/devices/poolsana_inverprestige_pro_heatpump.yaml

@@ -113,11 +113,6 @@ entities:
         name: pcb_version
         name: pcb_version
         optional: true
         optional: true
 
 
-  # DP15 is a legacy duplicate of the water inlet temperature (same
-  # physical sensor as DP3 and DP101). On most other Tuya pool heat
-  # pumps DP15 is the fault bitmap, but on this firmware fault moved
-  # to DP21 and DP15 was repurposed. Use DP101 as the authoritative
-  # inlet sensor.
   - entity: sensor
   - entity: sensor
     name: Pool temperature
     name: Pool temperature
     class: temperature
     class: temperature
@@ -133,7 +128,7 @@ entities:
 
 
   # Query list mapping from the Smart Life app screenshots:
   # Query list mapping from the Smart Life app screenshots:
   - entity: sensor
   - entity: sensor
-    name: Water inlet temperature
+    translation_key: inlet_temperature
     class: temperature
     class: temperature
     category: diagnostic
     category: diagnostic
     dps:
     dps:
@@ -145,7 +140,7 @@ entities:
         class: measurement
         class: measurement
 
 
   - entity: sensor
   - entity: sensor
-    name: Water outlet temperature
+    translation_key: outlet_temperature
     class: temperature
     class: temperature
     category: diagnostic
     category: diagnostic
     dps:
     dps:

+ 1 - 1
custom_components/tuya_local/devices/powerworld_pw040_waterheatpump.yaml

@@ -156,7 +156,7 @@ entities:
           - dps_val: 1
           - dps_val: 1
             value: Eco
             value: Eco
   - entity: sensor
   - entity: sensor
-    name: Outlet temperature
+    translation_key: outlet_temperature
     class: temperature
     class: temperature
     category: diagnostic
     category: diagnostic
     dps:
     dps:

+ 2 - 2
custom_components/tuya_local/devices/powerworld_pw58330_waterheater.yaml

@@ -144,7 +144,7 @@ entities:
         optional: true
         optional: true
         name: fault_code
         name: fault_code
   - entity: sensor
   - entity: sensor
-    name: Inlet temperature
+    translation_key: inlet_temperature
     class: temperature
     class: temperature
     category: diagnostic
     category: diagnostic
     dps:
     dps:
@@ -160,7 +160,7 @@ entities:
             value: F
             value: F
           - value: C
           - value: C
   - entity: sensor
   - entity: sensor
-    name: Outlet temperature
+    translation_key: outlet_temperature
     class: temperature
     class: temperature
     category: diagnostic
     category: diagnostic
     dps:
     dps:

+ 3 - 3
custom_components/tuya_local/devices/powerworld_pw58410_hvaconly.yaml

@@ -198,7 +198,7 @@ entities:
         optional: true
         optional: true
         name: button
         name: button
   - entity: sensor
   - entity: sensor
-    name: Inlet temperature
+    translation_key: inlet_temperature
     class: temperature
     class: temperature
     category: diagnostic
     category: diagnostic
     dps:
     dps:
@@ -214,13 +214,13 @@ entities:
         mask_signed: true
         mask_signed: true
       - id: 6
       - id: 6
         type: string
         type: string
-        name: unit
+        translation_key: unit
         mapping:
         mapping:
           - dps_val: f
           - dps_val: f
             value: F
             value: F
           - value: C
           - value: C
   - entity: sensor
   - entity: sensor
-    name: Outlet temperature
+    translation_key: outlet_temperature
     class: temperature
     class: temperature
     category: diagnostic
     category: diagnostic
     dps:
     dps:

+ 2 - 2
custom_components/tuya_local/devices/powerworld_pw58410_waterheater.yaml

@@ -189,7 +189,7 @@ entities:
         optional: true
         optional: true
         name: button
         name: button
   - entity: sensor
   - entity: sensor
-    name: Inlet temperature
+    translation_key: inlet_temperature
     class: temperature
     class: temperature
     category: diagnostic
     category: diagnostic
     dps:
     dps:
@@ -211,7 +211,7 @@ entities:
             value: F
             value: F
           - value: C
           - value: C
   - entity: sensor
   - entity: sensor
-    name: Outlet temperature
+    translation_key: outlet_temperature
     class: temperature
     class: temperature
     category: diagnostic
     category: diagnostic
     dps:
     dps:

+ 2 - 2
custom_components/tuya_local/devices/powerworld_pw58474_waterheater.yaml

@@ -70,7 +70,7 @@ entities:
         mask_signed: true
         mask_signed: true
 
 
   - entity: sensor
   - entity: sensor
-    name: Inlet temperature
+    translation_key: inlet_temperature
     dps:
     dps:
       - id: 101
       - id: 101
         type: base64
         type: base64
@@ -88,7 +88,7 @@ entities:
           - value: "°C"
           - value: "°C"
 
 
   - entity: sensor
   - entity: sensor
-    name: Outlet temperature
+    translation_key: outlet_temperature
     dps:
     dps:
       - id: 101
       - id: 101
         type: base64
         type: base64

+ 1 - 1
custom_components/tuya_local/devices/proenergy_pe08_poolheater.yaml

@@ -49,7 +49,7 @@ entities:
         type: boolean
         type: boolean
         name: lock
         name: lock
   - entity: sensor
   - entity: sensor
-    name: Inlet temperature
+    translation_key: inlet_temperature
     class: temperature
     class: temperature
     category: diagnostic
     category: diagnostic
     dps:
     dps:

+ 2 - 2
custom_components/tuya_local/devices/sanden_gaua45hpd_heatpumpcontroller.yaml

@@ -174,7 +174,7 @@ entities:
           - dps_val: Working
           - dps_val: Working
             value: heating
             value: heating
   - entity: sensor
   - entity: sensor
-    name: Outlet temperature
+    translation_key: outlet_temperature
     class: temperature
     class: temperature
     category: diagnostic
     category: diagnostic
     dps:
     dps:
@@ -184,7 +184,7 @@ entities:
         unit: C
         unit: C
         class: measurement
         class: measurement
   - entity: sensor
   - entity: sensor
-    name: Inlet temperature
+    translation_key: inlet_temperature
     class: temperature
     class: temperature
     category: diagnostic
     category: diagnostic
     dps:
     dps:

+ 2 - 2
custom_components/tuya_local/devices/solareast_aurora2_heatpump.yaml

@@ -224,7 +224,7 @@ entities:
         type: integer
         type: integer
         unit: Hz
         unit: Hz
   - entity: sensor
   - entity: sensor
-    name: Inlet temperature
+    translation_key: inlet_temperature
     category: diagnostic
     category: diagnostic
     class: temperature
     class: temperature
     deprecated: climate.current_temperature  # 2026-07-12
     deprecated: climate.current_temperature  # 2026-07-12
@@ -235,7 +235,7 @@ entities:
         unit: "C"
         unit: "C"
         class: measurement
         class: measurement
   - entity: sensor
   - entity: sensor
-    name: Outlet temperature
+    translation_key: outlet_temperature
     category: diagnostic
     category: diagnostic
     class: temperature
     class: temperature
     dps:
     dps:

+ 1 - 1
custom_components/tuya_local/devices/steinbach_silent_mini_heatpump.yaml

@@ -159,7 +159,7 @@ entities:
             value: F
             value: F
           - value: C
           - value: C
   - entity: sensor
   - entity: sensor
-    name: Outlet temperature
+    translation_key: outlet_temperature
     class: temperature
     class: temperature
     category: diagnostic
     category: diagnostic
     hidden: true
     hidden: true

+ 1 - 1
custom_components/tuya_local/devices/swimfun_inverboost_poolheatpump.yaml

@@ -175,7 +175,7 @@ entities:
         unit: C
         unit: C
         class: measurement
         class: measurement
   - entity: sensor
   - entity: sensor
-    name: Outlet temperature
+    translation_key: outlet_temperature
     class: temperature
     class: temperature
     category: diagnostic
     category: diagnostic
     dps:
     dps:

+ 1 - 2
custom_components/tuya_local/devices/thermann_r290_waterheater.yaml

@@ -106,9 +106,8 @@ entities:
         name: sensor
         name: sensor
         class: measurement
         class: measurement
   - entity: sensor
   - entity: sensor
-    name: Inlet water temperature
+    translation_key: inlet_temperature
     class: temperature
     class: temperature
-    icon: "mdi:water-thermometer"
     category: diagnostic
     category: diagnostic
     dps:
     dps:
       - id: 107
       - id: 107

+ 1 - 1
custom_components/tuya_local/devices/turbro_75000btu_poolheatpump.yaml

@@ -404,7 +404,7 @@ entities:
         mapping:
         mapping:
           - scale: 10
           - scale: 10
   - entity: sensor
   - entity: sensor
-    name: Outlet temperature
+    translation_key: outlet_temperature
     class: temperature
     class: temperature
     category: diagnostic
     category: diagnostic
     dps:
     dps:

+ 1 - 1
custom_components/tuya_local/devices/water_chiller_fre1l4.yaml

@@ -146,7 +146,7 @@ entities:
         class: measurement
         class: measurement
         unit: C
         unit: C
   - entity: sensor
   - entity: sensor
-    name: Outlet water temperature
+    translation_key: outlet_temperature
     class: temperature
     class: temperature
     category: diagnostic
     category: diagnostic
     dps:
     dps:

+ 1 - 1
custom_components/tuya_local/devices/waterco_electroheat_eco-vs_heatpump.yaml

@@ -112,7 +112,7 @@ entities:
             value: C
             value: C
   - entity: sensor
   - entity: sensor
     category: diagnostic
     category: diagnostic
-    name: Outlet water temperature
+    translation_key: outlet_temperature
     class: temperature
     class: temperature
     dps:
     dps:
       - id: 114
       - id: 114

+ 6 - 0
custom_components/tuya_local/icons.json

@@ -795,6 +795,12 @@
             "ambient_temperature": {
             "ambient_temperature": {
                 "default": "mdi:sun-thermometer"
                 "default": "mdi:sun-thermometer"
             },
             },
+            "inlet_temperature": {
+                "default": "mdi:water-thermometer"
+            },
+            "outlet_temperature": {
+                "default": "mdi:water-thermometer"
+            },
             "cleanliness": {
             "cleanliness": {
                 "default": "mdi:biohazard",
                 "default": "mdi:biohazard",
                 "state": {
                 "state": {

+ 6 - 0
custom_components/tuya_local/translations/bg.json

@@ -1165,6 +1165,12 @@
             "ambient_temperature": {
             "ambient_temperature": {
                 "name": "Температура на околната среда"
                 "name": "Температура на околната среда"
             },
             },
+            "inlet_temperature": {
+                "name": "Температура на входа"
+            },
+            "outlet_temperature": {
+                "name": "Температура на изхода"
+            },
             "cleanliness": {
             "cleanliness": {
                 "name": "Чистота",
                 "name": "Чистота",
                 "state": {
                 "state": {

+ 6 - 0
custom_components/tuya_local/translations/ca.json

@@ -1164,6 +1164,12 @@
             "ambient_temperature": {
             "ambient_temperature": {
                 "name": "Temperatura ambiente"
                 "name": "Temperatura ambiente"
             },
             },
+            "inlet_temperature": {
+                "name": "Temperatura d'entrada"
+            },
+            "outlet_temperature": {
+                "name": "Temperatura de sortida"
+            },
             "cleanliness": {
             "cleanliness": {
                 "name": "Limpieza",
                 "name": "Limpieza",
                 "state": {
                 "state": {

+ 6 - 0
custom_components/tuya_local/translations/cs.json

@@ -1164,6 +1164,12 @@
             "ambient_temperature": {
             "ambient_temperature": {
                 "name": "Teplota okolí"
                 "name": "Teplota okolí"
             },
             },
+            "inlet_temperature": {
+                "name": "Vstupní teplota"
+            },
+            "outlet_temperature": {
+                "name": "Výstupní teplota"
+            },
             "cleanliness": {
             "cleanliness": {
                 "name": "Čistota",
                 "name": "Čistota",
                 "state": {
                 "state": {

+ 6 - 0
custom_components/tuya_local/translations/de.json

@@ -1164,6 +1164,12 @@
             "ambient_temperature": {
             "ambient_temperature": {
                 "name": "Umgebungstemperatur"
                 "name": "Umgebungstemperatur"
             },
             },
+            "inlet_temperature": {
+                "name": "Einlasstemperatur"
+            },
+            "outlet_temperature": {
+                "name": "Auslasstemperatur"
+            },
             "cleanliness": {
             "cleanliness": {
                 "name": "Sauberkeit",
                 "name": "Sauberkeit",
                 "state": {
                 "state": {

+ 6 - 0
custom_components/tuya_local/translations/el.json

@@ -1164,6 +1164,12 @@
             "ambient_temperature": {
             "ambient_temperature": {
                 "name": "Θερμοκρασία περιβάλλοντος"
                 "name": "Θερμοκρασία περιβάλλοντος"
             },
             },
+            "inlet_temperature": {
+                "name": "Θερμοκρασία εισόδου"
+            },
+            "outlet_temperature": {
+                "name": "Θερμοκρασία εξόδου"
+            },
             "cleanliness": {
             "cleanliness": {
                 "name": "Καθαριότητα",
                 "name": "Καθαριότητα",
                 "state": {
                 "state": {

+ 6 - 0
custom_components/tuya_local/translations/en.json

@@ -1164,6 +1164,12 @@
             "ambient_temperature": {
             "ambient_temperature": {
                 "name": "Ambient temperature"
                 "name": "Ambient temperature"
             },
             },
+            "inlet_temperature": {
+                "name": "Inlet temperature"
+            },
+            "outlet_temperature": {
+                "name": "Outlet temperature"
+            },
             "cleanliness": {
             "cleanliness": {
                 "name": "Cleanliness",
                 "name": "Cleanliness",
                 "state": {
                 "state": {

+ 6 - 0
custom_components/tuya_local/translations/es.json

@@ -1164,6 +1164,12 @@
             "ambient_temperature": {
             "ambient_temperature": {
                 "name": "Temperatura ambiente"
                 "name": "Temperatura ambiente"
             },
             },
+            "inlet_temperature": {
+                "name": "Temperatura de entrada"
+            },
+            "outlet_temperature": {
+                "name": "Temperatura de salida"
+            },
             "cleanliness": {
             "cleanliness": {
                 "name": "Limpieza",
                 "name": "Limpieza",
                 "state": {
                 "state": {

+ 6 - 0
custom_components/tuya_local/translations/fr.json

@@ -1164,6 +1164,12 @@
             "ambient_temperature": {
             "ambient_temperature": {
                 "name": "Température ambiante"
                 "name": "Température ambiante"
             },
             },
+            "inlet_temperature": {
+                "name": "Température d'entrée"
+            },
+            "outlet_temperature": {
+                "name": "Température de sortie"
+            },
             "cleanliness": {
             "cleanliness": {
                 "name": "Propreté",
                 "name": "Propreté",
                 "state": {
                 "state": {

+ 6 - 0
custom_components/tuya_local/translations/hu.json

@@ -1164,6 +1164,12 @@
             "ambient_temperature": {
             "ambient_temperature": {
                 "name": "Környezeti hőmérséklet"
                 "name": "Környezeti hőmérséklet"
             },
             },
+            "inlet_temperature": {
+                "name": "Bemeneti hőmérséklet"
+            },
+            "outlet_temperature": {
+                "name": "Kimeneti hőmérséklet"
+            },
             "cleanliness": {
             "cleanliness": {
                 "name": "Tisztaság",
                 "name": "Tisztaság",
                 "state": {
                 "state": {

+ 6 - 0
custom_components/tuya_local/translations/id.json

@@ -1164,6 +1164,12 @@
             "ambient_temperature": {
             "ambient_temperature": {
                 "name": "Suhu sekitar"
                 "name": "Suhu sekitar"
             },
             },
+            "inlet_temperature": {
+                "name": "Suhu masuk"
+            },
+            "outlet_temperature": {
+                "name": "Suhu keluar"
+            },
             "cleanliness": {
             "cleanliness": {
                 "name": "Kebersihan",
                 "name": "Kebersihan",
                 "state": {
                 "state": {

+ 6 - 0
custom_components/tuya_local/translations/it.json

@@ -1164,6 +1164,12 @@
             "ambient_temperature": {
             "ambient_temperature": {
                 "name": "Temperatura ambiente"
                 "name": "Temperatura ambiente"
             },
             },
+            "inlet_temperature": {
+                "name": "Temperatura di ingresso"
+            },
+            "outlet_temperature": {
+                "name": "Temperatura di uscita"
+            },
             "cleanliness": {
             "cleanliness": {
                 "name": "Pulizia",
                 "name": "Pulizia",
                 "state": {
                 "state": {

+ 6 - 0
custom_components/tuya_local/translations/ja.json

@@ -1164,6 +1164,12 @@
             "ambient_temperature": {
             "ambient_temperature": {
                 "name": "周囲温度"
                 "name": "周囲温度"
             },
             },
+            "inlet_temperature": {
+                "name": "入口温度"
+            },
+            "outlet_temperature": {
+                "name": "出口温度"
+            },
             "cleanliness": {
             "cleanliness": {
                 "name": "清潔さ",
                 "name": "清潔さ",
                 "state": {
                 "state": {

+ 6 - 0
custom_components/tuya_local/translations/no-NB.json

@@ -1164,6 +1164,12 @@
             "ambient_temperature": {
             "ambient_temperature": {
                 "name": "Omgivelsestemperatur"
                 "name": "Omgivelsestemperatur"
             },
             },
+            "inlet_temperature": {
+                "name": "Inntakstemperatur"
+            },
+            "outlet_temperature": {
+                "name": "Uttakstemperatur"
+            },
             "cleanliness": {
             "cleanliness": {
                 "name": "Renhet",
                 "name": "Renhet",
                 "state": {
                 "state": {

+ 6 - 0
custom_components/tuya_local/translations/pl.json

@@ -1164,6 +1164,12 @@
             "ambient_temperature": {
             "ambient_temperature": {
                 "name": "Temperatura otoczenia"
                 "name": "Temperatura otoczenia"
             },
             },
+            "inlet_temperature": {
+                "name": "Temperatura wlotowa"
+            },
+            "outlet_temperature": {
+                "name": "Temperatura wylotowa"
+            },
             "cleanliness": {
             "cleanliness": {
                 "name": "Czystość",
                 "name": "Czystość",
                 "state": {
                 "state": {

+ 6 - 0
custom_components/tuya_local/translations/pt-BR.json

@@ -1164,6 +1164,12 @@
             "ambient_temperature": {
             "ambient_temperature": {
                 "name": "Temperatura ambiente"
                 "name": "Temperatura ambiente"
             },
             },
+            "inlet_temperature": {
+                "name": "Temperatura de entrada"
+            },
+            "outlet_temperature": {
+                "name": "Temperatura de saída"
+            },
             "cleanliness": {
             "cleanliness": {
                 "name": "Limpeza",
                 "name": "Limpeza",
                 "state": {
                 "state": {

+ 6 - 0
custom_components/tuya_local/translations/pt-PT.json

@@ -1164,6 +1164,12 @@
             "ambient_temperature": {
             "ambient_temperature": {
                 "name": "Temperatura ambiente"
                 "name": "Temperatura ambiente"
             },
             },
+            "inlet_temperature": {
+                "name": "Temperatura de entrada"
+            },
+            "outlet_temperature": {
+                "name": "Temperatura de saída"
+            },
             "cleanliness": {
             "cleanliness": {
                 "name": "Limpeza",
                 "name": "Limpeza",
                 "state": {
                 "state": {

+ 6 - 0
custom_components/tuya_local/translations/ro.json

@@ -1164,6 +1164,12 @@
             "ambient_temperature": {
             "ambient_temperature": {
                 "name": "Temperatură ambientală"
                 "name": "Temperatură ambientală"
             },
             },
+            "inlet_temperature": {
+                "name": "Temperatură intrare"
+            },
+            "outlet_temperature": {
+                "name": "Temperatură ieșire"
+            },
             "cleanliness": {
             "cleanliness": {
                 "name": "Curățenie",
                 "name": "Curățenie",
                 "state": {
                 "state": {

+ 6 - 0
custom_components/tuya_local/translations/ru.json

@@ -1164,6 +1164,12 @@
             "ambient_temperature": {
             "ambient_temperature": {
                 "name": "Температура окружающей среды"
                 "name": "Температура окружающей среды"
             },
             },
+            "inlet_temperature": {
+                "name": "Температура на входе"
+            },
+            "outlet_temperature": {
+                "name": "Температура на выходе"
+            },
             "cleanliness": {
             "cleanliness": {
                 "name": "Чистота",
                 "name": "Чистота",
                 "state": {
                 "state": {

+ 6 - 0
custom_components/tuya_local/translations/sv.json

@@ -1164,6 +1164,12 @@
             "ambient_temperature": {
             "ambient_temperature": {
                 "name": "Omgivningstemperatur"
                 "name": "Omgivningstemperatur"
             },
             },
+            "inlet_temperature": {
+                "name": "Inloppstemperatur"
+            },
+            "outlet_temperature": {
+                "name": "Utgångstemperatur"
+            },
             "cleanliness": {
             "cleanliness": {
                 "name": "Renlighet",
                 "name": "Renlighet",
                 "state": {
                 "state": {

+ 6 - 0
custom_components/tuya_local/translations/uk.json

@@ -1164,6 +1164,12 @@
             "ambient_temperature": {
             "ambient_temperature": {
                 "name": "Температура довкілля"
                 "name": "Температура довкілля"
             },
             },
+            "inlet_temperature": {
+                "name": "Температура на вході"
+            },
+            "outlet_temperature": {
+                "name": "Температура на виході"
+            },
             "cleanliness": {
             "cleanliness": {
                 "name": "Чистота",
                 "name": "Чистота",
                 "state": {
                 "state": {

+ 6 - 0
custom_components/tuya_local/translations/ur.json

@@ -1164,6 +1164,12 @@
             "ambient_temperature": {
             "ambient_temperature": {
                 "name": "ماحول کا درجہ حرارت"
                 "name": "ماحول کا درجہ حرارت"
             },
             },
+            "inlet_temperature": {
+                "name": "انلیٹ درجہ حرارت"
+            },
+            "outlet_temperature": {
+                "name": "آؤٹ لیٹ درجہ حرارت"
+            },
             "cleanliness": {
             "cleanliness": {
                 "name": "صفائی",
                 "name": "صفائی",
                 "state": {
                 "state": {

+ 6 - 0
custom_components/tuya_local/translations/zh-Hans.json

@@ -1164,6 +1164,12 @@
             "ambient_temperature": {
             "ambient_temperature": {
                 "name": "环境温度"
                 "name": "环境温度"
             },
             },
+            "inlet_temperature": {
+                "name": "进水温度"
+            },
+            "outlet_temperature": {
+                "name": "出水温度"
+            },
             "cleanliness": {
             "cleanliness": {
                 "name": "烟机洁净度",
                 "name": "烟机洁净度",
                 "state": {
                 "state": {

+ 6 - 0
custom_components/tuya_local/translations/zh-Hant.json

@@ -1164,6 +1164,12 @@
             "ambient_temperature": {
             "ambient_temperature": {
                 "name": "環境溫度"
                 "name": "環境溫度"
             },
             },
+            "inlet_temperature": {
+                "name": "進水溫度"
+            },
+            "outlet_temperature": {
+                "name": "出水溫度"
+            },
             "cleanliness": {
             "cleanliness": {
                 "name": "清潔度",
                 "name": "清潔度",
                 "state": {
                 "state": {