Parcourir la source

Translations: provide specific translations for climate devices

This partially reverses the previous changes to use standard naming
where possible.  Translation keys have been provided for the
following:

1. aircon_extra:  contains extra fan_mode and swing_mode states to
   cover 5/6 speed fans and 5 fixed vane positions.

2. pool_heatpump: contains custom presets with quiet, smart, quick
   variants of heat and cool.  Because of different marketing naming,
   users will have to remember eco = quiet, boost = quick, and plain
   heat and cool have the smart prefix to standardize across similar
   pool heatpumps.

3. thermostat: contains custom presets for program, manual,
   temp_override, perm_override, and a cycle fan mode.

4. combo_floor: for thermostats that control both air and floor
   heating, contains custom presets cool, heat, floor_cool, floor_heat
   and fan_only.

5. swing_as_powerlevel: for the original Goldair hack of representing
   powerlevel as the unused swing_mode. Overrides the name, and
   provides stop and auto translations for the non-numeric presets.

6. thermo_switch: Provides custom presets for on, off and pause
Jason Rumney il y a 2 ans
Parent
commit
cf01d0c62c
30 fichiers modifiés avec 243 ajouts et 120 suppressions
  1. 4 3
      custom_components/tuya_local/devices/avatto_wt100_thermostat.yaml
  2. 5 4
      custom_components/tuya_local/devices/beca_bhp6000_thermostat_c.yaml
  3. 5 4
      custom_components/tuya_local/devices/beca_bhp6000_thermostat_f.yaml
  4. 5 4
      custom_components/tuya_local/devices/beca_bhp6000_thermostat_mapped.yaml
  5. 3 2
      custom_components/tuya_local/devices/beok_tgr81_thermostat_c.yaml
  6. 4 3
      custom_components/tuya_local/devices/beok_tol47_thermostat.yaml
  7. 6 5
      custom_components/tuya_local/devices/beok_tr8b_thermostat.yaml
  8. 15 14
      custom_components/tuya_local/devices/bwt_heatpump.yaml
  9. 11 10
      custom_components/tuya_local/devices/cooper_hunter_air_conditioner.yaml
  10. 5 4
      custom_components/tuya_local/devices/daizuki_heatpump.yaml
  11. 2 1
      custom_components/tuya_local/devices/etop_ht_thermostat.yaml
  12. 5 4
      custom_components/tuya_local/devices/goldair_gpph_heater.yaml
  13. 1 1
      custom_components/tuya_local/devices/hellnar_heatpump.yaml
  14. 4 3
      custom_components/tuya_local/devices/hysen_hy08acf_thermostat.yaml
  15. 4 3
      custom_components/tuya_local/devices/hysen_hy08we2_thermostat.yaml
  16. 4 3
      custom_components/tuya_local/devices/inkbird_itc306a_thermostat.yaml
  17. 3 2
      custom_components/tuya_local/devices/ledlux_thermostat.yaml
  18. 3 2
      custom_components/tuya_local/devices/me80_thermostat.yaml
  19. 2 1
      custom_components/tuya_local/devices/minco_mh1823d_thermostat.yaml
  20. 7 6
      custom_components/tuya_local/devices/owon_pct513_thermostat.yaml
  21. 6 5
      custom_components/tuya_local/devices/poolex_silverline_heatpump.yaml
  22. 4 3
      custom_components/tuya_local/devices/poolex_vertigo_heatpump.yaml
  23. 13 12
      custom_components/tuya_local/devices/remora_heatpump.yaml
  24. 3 2
      custom_components/tuya_local/devices/saswell_c16_thermostat.yaml
  25. 3 2
      custom_components/tuya_local/devices/saswell_t29utk_thermostat.yaml
  26. 5 4
      custom_components/tuya_local/devices/starlight_heatpump.yaml
  27. 6 5
      custom_components/tuya_local/devices/tadiran_wind_heatpump.yaml
  28. 5 4
      custom_components/tuya_local/devices/weau_pool_heatpump.yaml
  29. 5 4
      custom_components/tuya_local/devices/weau_pool_heatpump13kW.yaml
  30. 95 0
      custom_components/tuya_local/translations/en.json

+ 4 - 3
custom_components/tuya_local/devices/avatto_wt100_thermostat.yaml

@@ -1,6 +1,7 @@
 name: Avatto WT100-EH thermostat
 primary_entity:
   entity: climate
+  translation_key: thermostat
   dps:
     - id: 1
       name: hvac_mode
@@ -38,11 +39,11 @@ primary_entity:
       type: string
       mapping:
         - dps_val: cold
-          value: none
+          value: manual
         - dps_val: hot
-          value: home
+          value: program
         - dps_val: wind
-          value: comfort
+          value: temp_override
           hidden: true
     - id: 5
       name: hvac_action

+ 5 - 4
custom_components/tuya_local/devices/beca_bhp6000_thermostat_c.yaml

@@ -3,6 +3,7 @@ products:
   - id: drwezxukumr9ohuh
 primary_entity:
   entity: climate
+  translation_key: thermostat
   dps:
     - id: 2
       name: temperature
@@ -19,13 +20,13 @@ primary_entity:
       type: integer
       mapping:
         - dps_val: 1
-          value: Schedule
+          value: program
         - dps_val: 2
-          value: Temporary Hold
+          value: temp_override
         - dps_val: 3
-          value: Permanent Hold
+          value: perm_override
         - dps_val: 4
-          value: Holiday Hold
+          value: away
     - id: 5
       name: hvac_mode
       type: integer

+ 5 - 4
custom_components/tuya_local/devices/beca_bhp6000_thermostat_f.yaml

@@ -4,6 +4,7 @@ products:
 legacy_type: beca_bhp6000_thermostat
 primary_entity:
   entity: climate
+  translation_key: thermostat
   dps:
     - id: 2
       name: temperature
@@ -20,13 +21,13 @@ primary_entity:
       type: integer
       mapping:
         - dps_val: 1
-          value: Schedule
+          value: program
         - dps_val: 2
-          value: Temporary Hold
+          value: temp_override
         - dps_val: 3
-          value: Permanent Hold
+          value: perm_override
         - dps_val: 4
-          value: Holiday Hold
+          value: away
     - id: 5
       name: hvac_mode
       type: integer

+ 5 - 4
custom_components/tuya_local/devices/beca_bhp6000_thermostat_mapped.yaml

@@ -3,6 +3,7 @@ products:
   - id: drwezxukumr9ohuh
 primary_entity:
   entity: climate
+  translation_key: thermostat
   dps:
     - id: 2
       name: temperature
@@ -350,13 +351,13 @@ primary_entity:
       type: integer
       mapping:
         - dps_val: 1
-          value: Schedule
+          value: program
         - dps_val: 2
-          value: Temporary Hold
+          value: temp_override
         - dps_val: 3
-          value: Permanent Hold
+          value: perm_override
         - dps_val: 4
-          value: Holiday Hold
+          value: away
     - id: 5
       name: hvac_mode
       type: integer

+ 3 - 2
custom_components/tuya_local/devices/beok_tgr81_thermostat_c.yaml

@@ -4,6 +4,7 @@ products:
     name: Avatto WT81 thermostat
 primary_entity:
   entity: climate
+  translation_key: thermostat
   dps:
     - id: 1
       name: hvac_mode
@@ -18,9 +19,9 @@ primary_entity:
       type: string
       mapping:
         - dps_val: auto
-          value: Schedule
+          value: program
         - dps_val: manual
-          value: Manual
+          value: manual
     - id: 16
       type: integer
       name: temperature

+ 4 - 3
custom_components/tuya_local/devices/beok_tol47_thermostat.yaml

@@ -1,6 +1,7 @@
 name: Beok TOL47 thermostat
 primary_entity:
   entity: climate
+  translation_key: thermostat
   dps:
     - id: 1
       type: boolean
@@ -36,11 +37,11 @@ primary_entity:
       name: preset_mode
       mapping:
         - dps_val: cold
-          value: none
+          value: manual
         - dps_val: hot
-          value: home
+          value: program
         - dps_val: wind
-          value: comfort
+          value: temp_override
           hidden: true
     - id: 5
       type: string

+ 6 - 5
custom_components/tuya_local/devices/beok_tr8b_thermostat.yaml

@@ -1,6 +1,7 @@
 name: Beok TR8B thermostat
 primary_entity:
   entity: climate
+  translation_key: combo_floor
   dps:
     - id: 1
       type: boolean
@@ -26,15 +27,15 @@ primary_entity:
       name: preset_mode
       mapping:
         - dps_val: cool
-          value: Cool
+          value: cool
         - dps_val: ventil
-          value: Fan only
+          value: fan_only
         - dps_val: heat
-          value: Heat
+          value: heat
         - dps_val: floor
-          value: Floor cool
+          value: floor_cool
         - dps_val: floor_heat
-          value: Floor heat
+          value: floor_heat
     - id: 16
       type: integer
       name: temperature

+ 15 - 14
custom_components/tuya_local/devices/bwt_heatpump.yaml

@@ -1,6 +1,7 @@
 name: BWT FI 45 pool heatpump
 primary_entity:
   entity: climate
+  translation_key: pool_heatpump
   dps:
     - id: 1
       name: hvac_mode
@@ -27,20 +28,20 @@ primary_entity:
       name: preset_mode
       type: string
       mapping:
-        - dps_val: "heat"
-          value: "Smart Heating"
-        - dps_val: "quickheat"
-          value: "Boost Heating"
-        - dps_val: "quietheat"
-          value: "Eco Heating"
-        - dps_val: "cool"
-          value: "Smart Cooling"
-        - dps_val: "quickcool"
-          value: "Boost Cooling"
-        - dps_val: "quietcool"
-          value: "Eco Cooling"
-        - dps_val: "auto"
-          value: "Auto"
+        - dps_val: heat
+          value: smart_heat
+        - dps_val: quickheat
+          value: quick_heat
+        - dps_val: quietheat
+          value: quiet_heat
+        - dps_val: cool
+          value: smart_cool
+        - dps_val: quickcool
+          value: quick_cool
+        - dps_val: quietcool
+          value: quiet_cool
+        - dps_val: auto
+          value: auto
     - id: 9
       type: integer
       name: error

+ 11 - 10
custom_components/tuya_local/devices/cooper_hunter_air_conditioner.yaml

@@ -4,6 +4,7 @@ products:
     name: Cooper and Hunter Nordic Evo NG
 primary_entity:
   entity: climate
+  translation_key: aircon_extra
   dps:
     - id: 1
       name: hvac_mode
@@ -62,17 +63,17 @@ primary_entity:
         - dps_val: auto
           value: auto
         - dps_val: quiet
-          value: Quiet
+          value: quiet
         - dps_val: fan1
-          value: Slow
-        - dps_val: fan2
           value: low
+        - dps_val: fan2
+          value: medlow
         - dps_val: fan3
           value: medium
         - dps_val: fan4
-          value: high
+          value: medhigh
         - dps_val: fan5
-          value: top
+          value: high
     - id: 31
       name: swing_mode
       type: string
@@ -82,15 +83,15 @@ primary_entity:
         - dps_val: "on"
           value: "on"
         - dps_val: "angle1" #Topmost
-          value: "Topmost"
+          value: "topmost"
         - dps_val: "angle2" #Top
-          value: "Top"
+          value: "top"
         - dps_val: "angle3" #Middle
-          value: "Middle"
+          value: "middle"
         - dps_val: "angle4" #Down
-          value: "Down"
+          value: "down"
         - dps_val: "angle5" #Downmost
-          value: "Downmost"
+          value: "downmost"
     - id: 19
       name: temperature_unit
       type: string

+ 5 - 4
custom_components/tuya_local/devices/daizuki_heatpump.yaml

@@ -1,6 +1,7 @@
 name: Daizuki Heatpump (F)
 primary_entity:
   entity: climate
+  translation_key: aircon_extra
   dps:
     - id: 1
       type: boolean
@@ -42,19 +43,19 @@ primary_entity:
         - dps_val: auto
           value: auto
         - dps_val: mute
-          value: Mute
+          value: quiet
         - dps_val: low
           value: low
         - dps_val: mid_low
-          value: Med-low
+          value: medlow
         - dps_val: mid
           value: medium
         - dps_val: mid_high
-          value: Med-high
+          value: medhigh
         - dps_val: high
           value: high
         - dps_val: strong
-          value: top
+          value: strong
     - id: 20
       type: integer
       name: unknown_20

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

@@ -4,6 +4,7 @@ products:
 
 primary_entity:
   entity: climate
+  translation_key: thermostat
   name: Thermostat
   dps:
     - id: 1
@@ -19,7 +20,7 @@ primary_entity:
       name: preset_mode
       mapping:
         - dps_val: manual
-          value: none
+          value: manual
           icon: "mdi:cursor-pointer"
         - dps_val: eco
           value: eco

+ 5 - 4
custom_components/tuya_local/devices/goldair_gpph_heater.yaml

@@ -2,6 +2,7 @@ name: Goldair GPPH heater
 legacy_type: heater
 primary_entity:
   entity: climate
+  translation_key: swing_as_powerlevel
   dps:
     - id: 1
       type: boolean
@@ -90,10 +91,10 @@ primary_entity:
           constraint: power_level
           conditions:
             - dps_val: stop
-              value: Stop
-          value: Stop
+              value: stop
+          value: stop
         - dps_val: auto
-          value: Auto
+          value: auto
         - dps_val: user
           constraint: power_level
           conditions:
@@ -108,7 +109,7 @@ primary_entity:
             - dps_val: "5"
               value: "5"
             - dps_val: stop
-              value: Stop
+              value: stop
       name: swing_mode
     - id: 106
       type: integer

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

@@ -85,7 +85,7 @@ primary_entity:
       name: unknown_120
       type: string
     - id: 123
-      name: swing_mode
+      name: maybe_swing_mode
       type: string
     - id: 126
       name: unknown_126

+ 4 - 3
custom_components/tuya_local/devices/hysen_hy08acf_thermostat.yaml

@@ -3,6 +3,7 @@ products:
   - id: xhx9h0duu9b9bobs
 primary_entity:
   entity: climate
+  translation_key: thermostat
   dps:
     - id: 1
       type: boolean
@@ -41,12 +42,12 @@ primary_entity:
       name: preset_mode
       mapping:
         - dps_val: Program
-          value: home
+          value: program
         - dps_val: TempProg
-          value: comfort
+          value: temp_override
           hidden: true
         - dps_val: Manual
-          value: none
+          value: manual
         - dps_val: Holiday
           value: away
     - id: 5

+ 4 - 3
custom_components/tuya_local/devices/hysen_hy08we2_thermostat.yaml

@@ -4,6 +4,7 @@ products:
     name: HY08WE-4
 primary_entity:
   entity: climate
+  translation_key: thermostat
   dps:
     - id: 1
       type: boolean
@@ -37,11 +38,11 @@ primary_entity:
       name: preset_mode
       mapping:
         - dps_val: Manual
-          value: none
+          value: manual
         - dps_val: Program
-          value: home
+          value: program
         - dps_val: TempProg
-          value: comfort
+          value: temp_override
           hidden: true
         - dps_val: Holiday
           value: away

+ 4 - 3
custom_components/tuya_local/devices/inkbird_itc306a_thermostat.yaml

@@ -2,6 +2,7 @@ name: Inkbird ITC-306A thermostat
 legacy_type: inkbird_thermostat
 primary_entity:
   entity: climate
+  translation_key: thermo_switch
   dps:
     - id: 12
       type: bitfield
@@ -17,11 +18,11 @@ primary_entity:
       name: preset_mode
       mapping:
         - dps_val: 'on'
-          value: 'On'
+          value: 'on'
         - dps_val: 'pause'
-          value: 'Pause'
+          value: 'pause'
         - dps_val: 'off'
-          value: 'Off'
+          value: 'off'
     - id: 104
       type: integer
       name: current_temperature

+ 3 - 2
custom_components/tuya_local/devices/ledlux_thermostat.yaml

@@ -4,6 +4,7 @@ products:
     name: Smart Boiler
 primary_entity:
   entity: climate
+  translation_key: thermostat
   dps:
     - id: 1
       name: hvac_mode
@@ -36,9 +37,9 @@ primary_entity:
       name: preset_mode
       mapping:
         - dps_val: Manual
-          value: none
+          value: manual
         - dps_val: Program
-          value: home
+          value: program
         - dps_val: Holiday
           value: away
     - id: 12

+ 3 - 2
custom_components/tuya_local/devices/me80_thermostat.yaml

@@ -1,6 +1,7 @@
 name: ME80 thermostat
 primary_entity:
   entity: climate
+  translation_key: thermostat
   dps:
     - id: 1
       type: boolean
@@ -22,9 +23,9 @@ primary_entity:
       name: preset_mode
       mapping:
         - dps_val: auto
-          value: Auto
+          value: program
         - dps_val: manual
-          value: Manual
+          value: manual
     - id: 16
       type: integer
       name: temperature

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

@@ -1,6 +1,7 @@
 name: Minco MH-1823D thermostat
 primary_entity:
   entity: climate
+  translation_key: thermostat
   dps:
     - id: 1
       type: boolean
@@ -26,7 +27,7 @@ primary_entity:
         - dps_val: manual
           value: manual
         - dps_val: holiday
-          value: holiday
+          value: away
     - id: 3
       type: string
       name: hvac_action

+ 7 - 6
custom_components/tuya_local/devices/owon_pct513_thermostat.yaml

@@ -3,6 +3,7 @@ products:
   - id: rsujjtinksnzcezy
 primary_entity:
   entity: climate
+  translation_key: thermostat
   dps:
     - id: 2
       type: string
@@ -97,7 +98,7 @@ primary_entity:
         - dps_val: "on"
           value: "on"
         - dps_val: cycle
-          value: Cycle
+          value: cycle
     - id: 116
       type: string
       name: unknown_116
@@ -107,7 +108,7 @@ primary_entity:
       hidden: true
       mapping:
         - dps_val: false
-          value: Manual
+          value: manual
     - id: 120
       type: string
       name: preset_mode
@@ -117,23 +118,23 @@ primary_entity:
           conditions:
             - dps_val: false
               value_redirect: scheduling
-              value: Manual
+              value: manual
             - dps_val: true
-              value: Follow Schedule
+              value: program
         - dps_val: temphold
           constraint: scheduling
           conditions:
             - dps_val: false
               value_redirect: scheduling
             - dps_val: true
-              value: Temporary Hold
+              value: temp_override
         - dps_val: permhold
           constraint: scheduling
           conditions:
             - dps_val: false
               value_redirect: scheduling
             - dps_val: true
-              value: Permanent Hold
+              value: perm_override
     - id: 129
       type: string
       name: hvac_action

+ 6 - 5
custom_components/tuya_local/devices/poolex_silverline_heatpump.yaml

@@ -1,6 +1,7 @@
 name: Poolex Silverline FI heatpump
 primary_entity:
   entity: climate
+  translation_key: pool_heatpump
   dps:
     - id: 1
       name: hvac_mode
@@ -28,15 +29,15 @@ primary_entity:
       type: string
       mapping:
         - dps_val: Auto
-          value: eco
+          value: auto
         - dps_val: Cool
-          value: Cool
+          value: smart_cool
         - dps_val: Heat
-          value: comfort
+          value: smart_heat
         - dps_val: BoostHeat
-          value: boost
+          value: quick_heat
         - dps_val: SilentHeat
-          value: sleep
+          value: quiet_heat
     - id: 13
       type: integer
       name: error

+ 4 - 3
custom_components/tuya_local/devices/poolex_vertigo_heatpump.yaml

@@ -1,6 +1,7 @@
 name: Poolex Vertigo FI heatpump
 primary_entity:
   entity: climate
+  translation_key: pool_heatpump
   dps:
     - id: 1
       name: hvac_mode
@@ -28,11 +29,11 @@ primary_entity:
       type: string
       mapping:
         - dps_val: "cool"
-          value: eco
+          value: smart_cool
         - dps_val: heat
-          value: boost
+          value: smart_heat
         - dps_val: silent
-          value: sleep
+          value: quiet_heat
     - id: 9
       type: integer
       name: error

+ 13 - 12
custom_components/tuya_local/devices/remora_heatpump.yaml

@@ -1,6 +1,7 @@
 name: Remora pool heatpump
 primary_entity:
   entity: climate
+  translation_key: pool_heatpump
   dps:
     - id: 1
       name: hvac_mode
@@ -27,18 +28,18 @@ primary_entity:
       name: preset_mode
       type: string
       mapping:
-        - dps_val: "heat"
-          value: "Smart Heating"
-        - dps_val: "h_powerful"
-          value: "Powerful Heating"
-        - dps_val: "h_silent"
-          value: "Silent Heating"
-        - dps_val: "cool"
-          value: "Smart Cooling"
-        - dps_val: "c_powerful"
-          value: "Powerful Cooling"
-        - dps_val: "c_silent"
-          value: "Silent Cooling"
+        - dps_val: heat
+          value: smart_heat
+        - dps_val: h_powerful
+          value: quick_heat
+        - dps_val: h_silent
+          value: quiet_heat
+        - dps_val: cool
+          value: smart_cool
+        - dps_val: c_powerful
+          value: quick_cool
+        - dps_val: c_silent
+          value: quiet_cool
     - id: 9
       type: integer
       name: error

+ 3 - 2
custom_components/tuya_local/devices/saswell_c16_thermostat.yaml

@@ -3,6 +3,7 @@ products:
   - id: jIRwsT5yLPJO41Po
 primary_entity:
   entity: climate
+  translation_key: thermostat
   dps:
     - id: 2
       name: temperature
@@ -18,13 +19,13 @@ primary_entity:
       type: string
       mapping:
         - dps_val: Smart
-          value: home
+          value: program
           icon: "mdi:home-thermometer"
         - dps_val: Anti_frozen
           value: away
           icon: "mdi:snowflake-melt"
         - dps_val: Manual
-          value: none
+          value: manual
           icon: "mdi:cursor-pointer"
     - id: 4
       name: unknown_4

+ 3 - 2
custom_components/tuya_local/devices/saswell_t29utk_thermostat.yaml

@@ -1,6 +1,7 @@
 name: Saswell T29UTK-7-S-(TY) thermostat
 primary_entity:
   entity: climate
+  translation_key: thermostat
   dps:
     - id: 1
       name: power
@@ -73,9 +74,9 @@ primary_entity:
           constraint: program
           conditions:
             - dps_val: true
-              value: home
+              value: program
             - dps_val: false
-              value: none
+              value: manual
     - id: 102
       name: program
       type: boolean

+ 5 - 4
custom_components/tuya_local/devices/starlight_heatpump.yaml

@@ -1,6 +1,7 @@
 name: StarLight heatpump
 primary_entity:
   entity: climate
+  translation_key: aircon_extra
   dps:
     - id: 1
       name: hvac_mode
@@ -56,19 +57,19 @@ primary_entity:
         - dps_val: auto
           value: auto
         - dps_val: mute
-          value: Mute
+          value: quiet
         - dps_val: low
           value: low
         - dps_val: mid_low
-          value: Med-Low
+          value: medlow
         - dps_val: mid
           value: medium
         - dps_val: mid_high
-          value: Med-High
+          value: medhigh
         - dps_val: high
           value: high
         - dps_val: strong
-          value: top
+          value: strong
     - id: 20
       name: unknown_20
       type: integer

+ 6 - 5
custom_components/tuya_local/devices/tadiran_wind_heatpump.yaml

@@ -5,6 +5,7 @@ products:
     # original model: 65/3P (product id unknown)
 primary_entity:
   entity: climate
+  translation_key: aircon_extra
   dps:
     - id: 1
       name: hvac_mode
@@ -53,19 +54,19 @@ primary_entity:
         - dps_val: auto
           value: auto
         - dps_val: sleep
-          value: Sleep
+          value: sleep
         - dps_val: mute
-          value: Mute
+          value: quiet
         - dps_val: low
           value: low
         - dps_val: health
-          value: Health
+          value: health
         - dps_val: middle
           value: medium
         - dps_val: natural
-          value: Natural
+          value: natural
         - dps_val: strong
-          value: Strong
+          value: strong
         - dps_val: high
           value: high
     - id: 101

+ 5 - 4
custom_components/tuya_local/devices/weau_pool_heatpump.yaml

@@ -1,6 +1,7 @@
 name: W'Eau pool heatpump
 primary_entity:
   entity: climate
+  translation_key: pool_heatpump
   dps:
     - id: 1
       type: boolean
@@ -35,13 +36,13 @@ primary_entity:
       name: preset_mode
       mapping:
         - dps_val: hot
-          value: boost
+          value: quick_heat
         - dps_val: eco
-          value: eco
+          value: quiet_heat
         - dps_val: cold
-          value: Cool
+          value: quiet_cool
         - dps_val: auto
-          value: comfort
+          value: auto
     - id: 6
       name: fault
       type: bitfield

+ 5 - 4
custom_components/tuya_local/devices/weau_pool_heatpump13kW.yaml

@@ -1,6 +1,7 @@
 name: W'Eau pool heatpump 13kW
 primary_entity:
   entity: climate
+  translation_key: pool_heatpump
   dps:
     - id: 1
       type: boolean
@@ -33,13 +34,13 @@ primary_entity:
       name: preset_mode
       mapping:
         - dps_val: hot
-          value: boost
+          value: quick_heat
         - dps_val: eco
-          value: eco
+          value: quiet_heat
         - dps_val: cold
-          value: Cool
+          value: quiet_cool
         - dps_val: auto
-          value: comfort
+          value: auto
     - id: 6
       name: fault
       type: bitfield

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

@@ -58,4 +58,99 @@
             "not_supported": "Sorry, there is no support for this device."
         }
     }
+    "entity": {
+        "climate": {
+            "aircon_extra": {
+                "state_attributes": {
+                    "fan_mode": {
+                        "state": {
+                            "health": "Healthy",
+                            "medhigh": "Medium-High",
+                            "medlow": "Medium-Low",
+                            "natural": "Natural",
+                            "quiet": "Quiet",
+                            "sleep": "Sleep",
+                            "strong": "Strong"
+                        }
+                    },
+                    "swing_mode": {
+                        "state": {
+                            "topmost": "Topmost",
+                            "top": "Top",
+                            "middle": "Middle",
+                            "down": "Down",
+                            "downmost": "Downmost",
+                        }
+                    }
+                }
+            },
+            "thermostat": {
+                "state_attributes": {
+                    "fan_mode": {
+                        "state": {
+                            "cycle": "Cycle"
+                        }
+                    },
+                    "preset_mode": {
+                        "state": {
+                            "manual": "Manual",
+                            "program": "Program",
+                            "temp_override": "Temporary Override",
+                            "perm_override": "Permanent Override"
+                        }
+                    }
+                }
+            },
+            "combo_floor": {
+                "state_attributes": {
+                    "preset_mode": {
+                        "state": {
+                            "cool": "Cool air",
+                            "fan_only": "Fan",
+                            "heat": "Heat air",
+                            "floor_cool": "Cool floor",
+                            "floor_heat": "Heat floor",
+                        }
+                    }
+                }
+            },
+            "swing_as_powerlevel": {
+                "state_attributes": {
+                    "swing_mode": {
+                        "name": "Heating level",
+                        "state": {
+                            "stop": "Stop",
+                            "auto": "Auto"
+                        }
+                    }
+                }
+            },
+            "pool_heatpump": {
+                "state_attributes": {
+                    "preset_mode": {
+                        "state": {
+                            "smart_heat": "Smart heat",
+                            "quick_heat": "Quick heat",
+                            "quiet_heat": "Quiet heat",
+                            "smart_cool": "Smart cool",
+                            "quick_cool": "Quick cool",
+                            "quiet_cool": "Quiet cool",
+                            "auto": "Auto"
+                        }
+                    }
+                }
+            },
+            "thermo_switch": {
+                "state_attributes": {
+                    "preset_mode": {
+                        "state": {
+                            "on": "On",
+                            "off": "Off",
+                            "pause": "Pause",
+                        }
+                    }
+                }
+            }
+        }
+    }
 }