Parcourir la source

Common translations: climate preset_mode - use standard modes where possible

Modes with translations in HA: none, eco, away, boost, comfort, home,
sleep, activity

Common replacements:  low/high => eco/boost  smart => comfort
   manual/program/temp program/holiday => none/home/comfort/away

- use new hidden mapping to hide former "temp program" (now comfort)
mappings, as these are typically automatically set when the user makes
an adjustment in program mode.

Issue #682
Jason Rumney il y a 2 ans
Parent
commit
acce76acdc
45 fichiers modifiés avec 161 ajouts et 167 suppressions
  1. 6 6
      custom_components/tuya_local/devices/andersson_gsh_heater.yaml
  2. 7 7
      custom_components/tuya_local/devices/arlec_panel_heater.yaml
  3. 6 6
      custom_components/tuya_local/devices/arlec_panel_heater_v2.yaml
  4. 3 3
      custom_components/tuya_local/devices/atomi_ceramic_heater.yaml
  5. 4 3
      custom_components/tuya_local/devices/avatto_wt100_thermostat.yaml
  6. 4 4
      custom_components/tuya_local/devices/awow_th213_thermostat.yaml
  7. 4 4
      custom_components/tuya_local/devices/awow_th213v2_thermostat.yaml
  8. 4 3
      custom_components/tuya_local/devices/beok_tol47_thermostat.yaml
  9. 4 4
      custom_components/tuya_local/devices/bvf_cp1_heater.yaml
  10. 2 2
      custom_components/tuya_local/devices/devola_patio_heater.yaml
  11. 4 4
      custom_components/tuya_local/devices/ecostrad_iqceramic_radiator.yaml
  12. 3 13
      custom_components/tuya_local/devices/electriq_airflex15w_heatpump.yaml
  13. 1 1
      custom_components/tuya_local/devices/eurom_saniwallheat2000_heater.yaml
  14. 1 1
      custom_components/tuya_local/devices/eurom_walldesignheat2000_heater.yaml
  15. 2 2
      custom_components/tuya_local/devices/fairland_iphcr15_heatpump.yaml
  16. 2 2
      custom_components/tuya_local/devices/gardenpac_heatpump.yaml
  17. 4 4
      custom_components/tuya_local/devices/goldair_gpcv_heater.yaml
  18. 6 6
      custom_components/tuya_local/devices/goldair_gpph_heater.yaml
  19. 3 3
      custom_components/tuya_local/devices/heatstorm_hs6000gc_heater.yaml
  20. 1 1
      custom_components/tuya_local/devices/hjz_radiator.yaml
  21. 5 4
      custom_components/tuya_local/devices/hysen_hy08acf_thermostat.yaml
  22. 5 4
      custom_components/tuya_local/devices/hysen_hy08we2_thermostat.yaml
  23. 1 1
      custom_components/tuya_local/devices/inow_heater_element.yaml
  24. 4 4
      custom_components/tuya_local/devices/inow_heater_element_v2.yaml
  25. 3 3
      custom_components/tuya_local/devices/ips_pro_heatpump.yaml
  26. 2 2
      custom_components/tuya_local/devices/kogan_kahtp_heater.yaml
  27. 4 4
      custom_components/tuya_local/devices/kogan_kashmfp20ba_heater.yaml
  28. 3 3
      custom_components/tuya_local/devices/kogan_kasthfp2kwa_towerheater.yaml
  29. 4 4
      custom_components/tuya_local/devices/kogan_kawfhtp_heater.yaml
  30. 3 3
      custom_components/tuya_local/devices/ledlux_thermostat.yaml
  31. 3 3
      custom_components/tuya_local/devices/madimack_elite_v3_heatpump.yaml
  32. 2 2
      custom_components/tuya_local/devices/madimack_heatpump.yaml
  33. 1 1
      custom_components/tuya_local/devices/netmostat_n1_thermostat.yaml
  34. 4 4
      custom_components/tuya_local/devices/orion_ptc2000_heater.yaml
  35. 10 10
      custom_components/tuya_local/devices/poolex_silverline_heatpump.yaml
  36. 5 5
      custom_components/tuya_local/devices/poolex_vertigo_heatpump.yaml
  37. 2 2
      custom_components/tuya_local/devices/purline_m100_heater.yaml
  38. 3 3
      custom_components/tuya_local/devices/rotenso_ronir35wi_heatpump.yaml
  39. 4 4
      custom_components/tuya_local/devices/rumba_bathroom_heater.yaml
  40. 6 6
      custom_components/tuya_local/devices/saswell_c16_thermostat.yaml
  41. 2 2
      custom_components/tuya_local/devices/saswell_t29utk_thermostat.yaml
  42. 2 2
      custom_components/tuya_local/devices/t5e_wf_thermostat.yaml
  43. 3 3
      custom_components/tuya_local/devices/weau_pool_heatpump.yaml
  44. 3 3
      custom_components/tuya_local/devices/weau_pool_heatpump13kW.yaml
  45. 6 6
      custom_components/tuya_local/devices/wetair_wch750_heater.yaml

+ 6 - 6
custom_components/tuya_local/devices/andersson_gsh_heater.yaml

@@ -27,12 +27,12 @@ primary_entity:
       name: preset_mode
       type: string
       mapping:
-        - dps_val: "low"
-          value: "Low"
-        - dps_val: "high"
-          value: "High"
-        - dps_val: "af"
-          value: "Anti-freeze"
+        - dps_val: low
+          value: eco
+        - dps_val: high
+          value: boost
+        - dps_val: af
+          value: away
     - id: 12
       name: error
       type: bitfield

+ 7 - 7
custom_components/tuya_local/devices/arlec_panel_heater.yaml

@@ -29,12 +29,12 @@ primary_entity:
       name: preset_mode
       type: string
       mapping:
-        - dps_val: "low"
-          value: "Low"
-        - dps_val: "high"
-          value: "High"
-        - dps_val: "af"
-          value: "Anti-freeze"
+        - dps_val: low
+          value: eco
+        - dps_val: high
+          value: boost
+        - dps_val: af
+          value: away
     - id: 12
       name: error
       type: bitfield
@@ -63,4 +63,4 @@ secondary_entities:
         unit: hour
         range:
           min: 0
-          max: 24
+          max: 24

+ 6 - 6
custom_components/tuya_local/devices/arlec_panel_heater_v2.yaml

@@ -29,12 +29,12 @@ primary_entity:
       name: preset_mode
       type: string
       mapping:
-        - dps_val: "ECO"
-          value: "Eco"
-        - dps_val: "Comfort"
-          value: "Comfort"
-        - dps_val: "Antifrost"
-          value: "Anti-frost"
+        - dps_val: ECO
+          value: eco
+        - dps_val: Comfort
+          value: comfort
+        - dps_val: Antifrost
+          value: away
 secondary_entities:
   - entity: lock
     name: Child lock

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

@@ -28,11 +28,11 @@ primary_entity:
       name: preset_mode
       mapping:
         - dps_val: auto
-          value: Eco
+          value: eco
         - dps_val: low
-          value: Low
+          value: comfort
         - dps_val: high
-          value: High
+          value: boost
     - id: 8
       type: boolean
       name: swing_mode

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

@@ -38,11 +38,12 @@ primary_entity:
       type: string
       mapping:
         - dps_val: cold
-          value: Manual
+          value: none
         - dps_val: hot
-          value: Program
+          value: home
         - dps_val: wind
-          value: Temporary Program
+          value: comfort
+          hidden: true
     - id: 5
       name: hvac_action
       type: string

+ 4 - 4
custom_components/tuya_local/devices/awow_th213_thermostat.yaml

@@ -25,13 +25,13 @@ primary_entity:
       type: integer
       mapping:
         - dps_val: 1
-          value: "Home"
+          value: home
         - dps_val: 2
-          value: "Away"
+          value: away
         - dps_val: 3
-          value: "Smart"
+          value: activity
         - dps_val: 4
-          value: "Sleep"
+          value: sleep
     - id: 12
       type: bitfield
       name: error

+ 4 - 4
custom_components/tuya_local/devices/awow_th213v2_thermostat.yaml

@@ -25,13 +25,13 @@ primary_entity:
       type: integer
       mapping:
         - dps_val: 1
-          value: "Home"
+          value: home
         - dps_val: 2
-          value: "Away"
+          value: away
         - dps_val: 3
-          value: "Smart"
+          value: activity
         - dps_val: 4
-          value: "Sleep"
+          value: sleep
     - id: 12
       type: bitfield
       name: error

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

@@ -36,11 +36,12 @@ primary_entity:
       name: preset_mode
       mapping:
         - dps_val: cold
-          value: Manual
+          value: none
         - dps_val: hot
-          value: Program
+          value: home
         - dps_val: wind
-          value: Temporary
+          value: comfort
+          hidden: true
     - id: 5
       type: string
       name: hvac_action

+ 4 - 4
custom_components/tuya_local/devices/bvf_cp1_heater.yaml

@@ -17,13 +17,13 @@ primary_entity:
       name: preset_mode
       mapping:
         - dps_val: hot
-          value: Comfort
+          value: comfort
         - dps_val: eco
-          value: Economy
+          value: eco
         - dps_val: cold
-          value: Anti-frost
+          value: away
         - dps_val: auto
-          value: Program
+          value: home
     - id: 16
       type: integer
       name: temperature

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

@@ -39,9 +39,9 @@ primary_entity:
       name: preset_mode
       mapping:
         - dps_val: true
-          value: Eco
+          value: eco
         - dps_val: false
-          value: Normal
+          value: comfort
     - id: 14
       type: string
       name: hvac_action

+ 4 - 4
custom_components/tuya_local/devices/ecostrad_iqceramic_radiator.yaml

@@ -18,13 +18,13 @@ primary_entity:
         - dps_val: "auto"
           value: Program
         - dps_val: "eco"
-          value: ECO
+          value: eco
         - dps_val: "hot"
-          value: Comfort
+          value: comfort
         - dps_val: "cold"
-          value: Anti-Freeze
+          value: away
         - dps_val: "person_infrared_ray"
-          value: Sensor
+          value: activity
         - dps_val: "line_control"
           value: Pilot Wire
     - id: 16

+ 3 - 13
custom_components/tuya_local/devices/electriq_airflex15w_heatpump.yaml

@@ -12,7 +12,7 @@ primary_entity:
           value: "off"
           icon: "mdi:hvac-off"
         - dps_val: true
-          constraint: preset_mode
+          constraint: work_mode
           conditions:
             - dps_val: "0" # auto
               value: heat_cool
@@ -62,18 +62,8 @@ primary_entity:
       name: unknown_20
     - id: 101
       type: string
-      name: preset_mode
-      mapping:
-        - dps_val: "0" # auto
-          value: Auto
-        - dps_val: "1" # cold
-          value: Cool
-        - dps_val: "2" # hot
-          value: Heat
-        - dps_val: "3" # wet
-          value: Dry
-        - dps_val: "5" # fan
-          value: Fan
+      name: work_mode
+      hidden: true
     - id: 103
       type: boolean
       name: unknown_103

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

@@ -38,7 +38,7 @@ primary_entity:
       name: preset_mode
       mapping:
         - dps_val: "off"
-          value: fan
+          value: none
         - dps_val: "50_per"
           value: eco
         - dps_val: "100_per"

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

@@ -39,7 +39,7 @@ primary_entity:
       name: preset_mode
       mapping:
         - dps_val: "off"
-          value: fan
+          value: none
         - dps_val: "50_perc"
           value: eco
         - dps_val: "100_perc"

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

@@ -79,9 +79,9 @@ primary_entity:
       type: boolean
       mapping:
         - dps_val: false
-          value: Silent
+          value: sleep
         - dps_val: true
-          value: Boost
+          value: boost
 secondary_entities:
   - entity: sensor
     category: diagnostic

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

@@ -75,9 +75,9 @@ primary_entity:
       type: boolean
       mapping:
         - dps_val: false
-          value: Silent
+          value: sleep
         - dps_val: true
-          value: Smart
+          value: activity
 secondary_entities:
   - entity: sensor
     name: Power level

+ 4 - 4
custom_components/tuya_local/devices/goldair_gpcv_heater.yaml

@@ -36,10 +36,10 @@ primary_entity:
     - id: 7
       type: string
       mapping:
-        - dps_val: "Low"
-          value: "Low"
-        - dps_val: "High"
-          value: "High"
+        - dps_val: Low
+          value: eco
+        - dps_val: High
+          value: boost
       name: preset_mode
 secondary_entities:
   - entity: lock

+ 6 - 6
custom_components/tuya_local/devices/goldair_gpph_heater.yaml

@@ -42,12 +42,12 @@ primary_entity:
     - id: 4
       type: string
       mapping:
-        - dps_val: "C"
-          value: "comfort"
-        - dps_val: "ECO"
-          value: "eco"
-        - dps_val: "AF"
-          value: "away"
+        - dps_val: C
+          value: comfort
+        - dps_val: ECO
+          value: eco
+        - dps_val: AF
+          value: away
       name: preset_mode
     - id: 12
       type: bitfield

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

@@ -40,11 +40,11 @@ primary_entity:
       name: preset_mode
       mapping:
         - dps_val: auto
-          value: Auto
+          value: comfort
         - dps_val: low
-          value: Low
+          value: eco
         - dps_val: high
-          value: High
+          value: boost
     - id: 13
       type: bitfield
       name: fault_code

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

@@ -27,7 +27,7 @@ primary_entity:
         - dps_val: "1"
           value: eco
         - dps_val: "2"
-          value: anti-frost
+          value: away
     - id: 21
       type: bitfield
       name: fault_code

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

@@ -41,13 +41,14 @@ primary_entity:
       name: preset_mode
       mapping:
         - dps_val: Program
-          value: Program
+          value: home
         - dps_val: TempProg
-          value: Temporary Override
+          value: comfort
+          hidden: true
         - dps_val: Manual
-          value: Manual
+          value: none
         - dps_val: Holiday
-          value: Holiday
+          value: away
     - id: 5
       type: string
       name: fan_mode

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

@@ -37,13 +37,14 @@ primary_entity:
       name: preset_mode
       mapping:
         - dps_val: Manual
-          value: Manual
+          value: none
         - dps_val: Program
-          value: Program
+          value: home
         - dps_val: TempProg
-          value: Program Override
+          value: comfort
+          hidden: true
         - dps_val: Holiday
-          value: Holiday
+          value: away
     - id: 12
       type: bitfield
       name: fault_code

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

@@ -28,7 +28,7 @@ primary_entity:
         - dps_val: smart
           value: comfort
         - dps_val: antifreezing
-          value: Anti-freeze
+          value: away
     - id: 19
       type: string
       name: timer

+ 4 - 4
custom_components/tuya_local/devices/inow_heater_element_v2.yaml

@@ -29,9 +29,9 @@ primary_entity:
         - dps_val: comfort
           value: comfort
         - dps_val: antifreezin
-          value: Anti-freeze
+          value: away
         - dps_val: eco
-          value: Eco
+          value: eco
         - dps_val: water_temp
           value: Radiator
 secondary_entities:
@@ -95,8 +95,8 @@ secondary_entities:
           - dps_val: comfort
             value: comfort
           - dps_val: antifreezin
-            value: Anti-freeze
+            value: away
           - dps_val: eco
-            value: Eco
+            value: eco
           - dps_val: water_temp
             value: Radiator

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

@@ -19,11 +19,11 @@ primary_entity:
       type: string
       mapping:
         - dps_val: "silence"
-          value: "silence"
+          value: sleep
         - dps_val: "smart"
-          value: "smart"
+          value: comfort
         - dps_val: "turbo"
-          value: "turbo"
+          value: boost
     - id: 102
       name: current_temperature
       type: integer

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

@@ -17,9 +17,9 @@ primary_entity:
       type: string
       mapping:
         - dps_val: "Low"
-          value: "Low"
+          value: eco
         - dps_val: "High"
-          value: "High"
+          value: boost
       name: preset_mode
     - id: 7
       type: boolean

+ 4 - 4
custom_components/tuya_local/devices/kogan_kashmfp20ba_heater.yaml

@@ -17,10 +17,10 @@ primary_entity:
     - id: 2
       type: string
       mapping:
-        - dps_val: "low"
-          value: "low"
-        - dps_val: "high"
-          value: "high"
+        - dps_val: low
+          value: eco
+        - dps_val: high
+          value: boost
       name: preset_mode
     - id: 3
       type: integer

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

@@ -32,15 +32,15 @@ primary_entity:
       type: string
       mapping:
         - dps_val: LOW
-          value: "Low"
+          value: eco
           icon: "mdi:radiator"
           icon_priority: 2
         - dps_val: FAN
-          value: "Fan"
+          value: none
           icon: "mdi:fan"
           icon_priority: 2
         - dps_val: HIGH
-          value: "High"
+          value: boost
           icon: "mdi:fire"
           icon_priority: 2
     - id: 8

+ 4 - 4
custom_components/tuya_local/devices/kogan_kawfhtp_heater.yaml

@@ -28,10 +28,10 @@ primary_entity:
     - id: 7
       type: string
       mapping:
-        - dps_val: "Low"
-          value: "Low"
-        - dps_val: "High"
-          value: "High"
+        - dps_val: Low
+          value: eco
+        - dps_val: High
+          value: boost
       name: preset_mode
 secondary_entities:
   - entity: lock

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

@@ -36,11 +36,11 @@ primary_entity:
       name: preset_mode
       mapping:
         - dps_val: Manual
-          value: Manual
+          value: none
         - dps_val: Program
-          value: Program
+          value: home
         - dps_val: Holiday
-          value: Holiday
+          value: away
     - id: 12
       type: bitfield
       name: fault_code

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

@@ -44,11 +44,11 @@ primary_entity:
       type: string
       mapping:
         - dps_val: silence
-          value: Silence
+          value: sleep
         - dps_val: power
-          value: Perfect
+          value: comfort
         - dps_val: boost
-          value: Power
+          value: boost
     - id: 6
       name: temperature_unit
       type: string

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

@@ -82,9 +82,9 @@ primary_entity:
       type: boolean
       mapping:
         - dps_val: false
-          value: Silent
+          value: sleep
         - dps_val: true
-          value: Boost
+          value: boost
     - id: 118
       name: unknown_118
       type: boolean

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

@@ -31,7 +31,7 @@ primary_entity:
         - dps_val: smart
           value: comfort
         - dps_val: antifreezing
-          value: Anti-freeze
+          value: away
 secondary_entities:
   - entity: lock
     name: Child lock

+ 4 - 4
custom_components/tuya_local/devices/orion_ptc2000_heater.yaml

@@ -24,13 +24,13 @@ primary_entity:
       name: preset_mode
       mapping:
         - dps_val: "1"
-          value: "1000 W"
+          value: eco
         - dps_val: "2"
-          value: "2000 W"
+          value: boost
         - dps_val: "auto"
-          value: "Auto"
+          value: comfort
         - dps_val: "off"
-          value: "off"
+          value: none
     - id: 101
       type: boolean
       name: swing_mode

+ 10 - 10
custom_components/tuya_local/devices/poolex_silverline_heatpump.yaml

@@ -27,16 +27,16 @@ primary_entity:
       name: preset_mode
       type: string
       mapping:
-        - dps_val: "Auto"
-          value: "Auto"
-        - dps_val: "Cool"
-          value: "Cool"
-        - dps_val: "Heat"
-          value: "Heat"
-        - dps_val: "BoostHeat"
-          value: "Boost Heat"
-        - dps_val: "SilentHeat"
-          value: "Silent Heat"
+        - dps_val: Auto
+          value: eco
+        - dps_val: Cool
+          value: Cool
+        - dps_val: Heat
+          value: comfort
+        - dps_val: BoostHeat
+          value: boost
+        - dps_val: SilentHeat
+          value: sleep
     - id: 13
       type: integer
       name: error

+ 5 - 5
custom_components/tuya_local/devices/poolex_vertigo_heatpump.yaml

@@ -28,11 +28,11 @@ primary_entity:
       type: string
       mapping:
         - dps_val: "cool"
-          value: "Cool"
-        - dps_val: "heat"
-          value: "Heat"
-        - dps_val: "silent"
-          value: "Silent"
+          value: eco
+        - dps_val: heat
+          value: boost
+        - dps_val: silent
+          value: sleep
     - id: 9
       type: integer
       name: error

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

@@ -35,7 +35,7 @@ primary_entity:
       type: string
       mapping:
         - dps_val: "off"
-          value: "Fan"
+          value: none
         - dps_val: "1"
           value: "1"
         - dps_val: "2"
@@ -47,7 +47,7 @@ primary_entity:
         - dps_val: "5"
           value: "5"
         - dps_val: "auto"
-          value: "Auto"
+          value: comfort
     - id: 11
       name: timer_hours
       type: integer

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

@@ -68,11 +68,11 @@ primary_entity:
           constraint: eco
           conditions:
             - dps_val: false
-              value: Normal
+              value: comfort
             - dps_val: true
-              value: Eco
+              value: eco
         - dps_val: true
-          value: Turbo
+          value: boost
     - id: 103
       type: boolean
       name: temperature_unit

+ 4 - 4
custom_components/tuya_local/devices/rumba_bathroom_heater.yaml

@@ -16,13 +16,13 @@ primary_entity:
       type: string
       mapping:
         - dps_val: hot
-          value: Comfort
+          value: comfort
         - dps_val: eco
-          value: Economy
+          value: eco
         - dps_val: cold
-          value: Anti-frost
+          value: away
         - dps_val: auto
-          value: Program
+          value: home
     - id: 16
       name: temperature
       type: integer

+ 6 - 6
custom_components/tuya_local/devices/saswell_c16_thermostat.yaml

@@ -17,14 +17,14 @@ primary_entity:
       name: preset_mode
       type: string
       mapping:
-        - dps_val: "Smart"
-          value: "home"
+        - dps_val: Smart
+          value: home
           icon: "mdi:home-thermometer"
-        - dps_val: "Anti_frozen"
-          value: "away"
+        - dps_val: Anti_frozen
+          value: away
           icon: "mdi:snowflake-melt"
-        - dps_val: "Manual"
-          value: "manual"
+        - dps_val: Manual
+          value: none
           icon: "mdi:cursor-pointer"
     - id: 4
       name: unknown_4

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

@@ -73,9 +73,9 @@ primary_entity:
           constraint: program
           conditions:
             - dps_val: true
-              value: "Program"
-            - dps_val: false
               value: home
+            - dps_val: false
+              value: none
     - id: 102
       name: program
       type: boolean

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

@@ -102,9 +102,9 @@ primary_entity:
       name: preset_mode
       mapping:
         - dps_val: true
-          value: Eco
+          value: eco
         - dps_val: false
-          value: Normal
+          value: comfort
     - id: 16
       type: integer
       name: temperature

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

@@ -35,13 +35,13 @@ primary_entity:
       name: preset_mode
       mapping:
         - dps_val: hot
-          value: Boost Heat
+          value: boost
         - dps_val: eco
-          value: Eco Heat
+          value: eco
         - dps_val: cold
           value: Cool
         - dps_val: auto
-          value: Auto
+          value: comfort
     - id: 6
       name: fault
       type: bitfield

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

@@ -33,13 +33,13 @@ primary_entity:
       name: preset_mode
       mapping:
         - dps_val: hot
-          value: Boost Heat
+          value: boost
         - dps_val: eco
-          value: Eco Heat
+          value: eco
         - dps_val: cold
           value: Cool
         - dps_val: auto
-          value: Auto
+          value: comfort
     - id: 6
       name: fault
       type: bitfield

+ 6 - 6
custom_components/tuya_local/devices/wetair_wch750_heater.yaml

@@ -27,12 +27,12 @@ primary_entity:
       type: string
       name: preset_mode
       mapping:
-        - dps_val: "mod_free"
-          value: "comfort"
-        - dps_val: "mod_max12h"
-          value: "boost"
-        - dps_val: "mod_antiforst"
-          value: "away"
+        - dps_val: mod_free
+          value: comfort
+        - dps_val: mod_max12h
+          value: boost
+        - dps_val: mod_antiforst
+          value: away
     - id: 11
       type: string
       name: hvac_action