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

Common translations: humidifier mode - use standard modes where possible

Modes with translations in HA: normal, eco, away, boost, comfort,
home, sleep, auto, baby

Issue #682
Jason Rumney 2 лет назад
Родитель
Сommit
0df1710577
29 измененных файлов с 102 добавлено и 102 удалено
  1. 3 3
      custom_components/tuya_local/devices/alecoair_d12_dehumidifier.yaml
  2. 2 2
      custom_components/tuya_local/devices/alecoair_d12_home_dehumidifier.yaml
  3. 3 3
      custom_components/tuya_local/devices/alecoair_d14_dehumidifier.yaml
  4. 3 3
      custom_components/tuya_local/devices/alecoair_d16_dehumidifier.yaml
  5. 7 7
      custom_components/tuya_local/devices/blitzwolf_bwsh5_humidifier.yaml
  6. 3 3
      custom_components/tuya_local/devices/ebac_dj4000_dehumidifier.yaml
  7. 3 3
      custom_components/tuya_local/devices/eeese_carl_dehumidifier.yaml
  8. 3 3
      custom_components/tuya_local/devices/eeese_otto_dehumidifier.yaml
  9. 2 2
      custom_components/tuya_local/devices/eesee_adam_dehumidifier.yaml
  10. 6 6
      custom_components/tuya_local/devices/electriq_cd12pro_dehumidifier.yaml
  11. 2 2
      custom_components/tuya_local/devices/electriq_cd12pw_dehumidifier.yaml
  12. 2 2
      custom_components/tuya_local/devices/electriq_cd12pwv2_dehumidifier.yaml
  13. 8 8
      custom_components/tuya_local/devices/electriq_cd20pro_dehumidifier.yaml
  14. 8 8
      custom_components/tuya_local/devices/electriq_cd25pro_dehumidifier.yaml
  15. 3 3
      custom_components/tuya_local/devices/electriq_pd45e_dehumidifier.yaml
  16. 4 4
      custom_components/tuya_local/devices/goldair_dehumidifier.yaml
  17. 5 5
      custom_components/tuya_local/devices/goldair_gpdh340_dehumidifier.yaml
  18. 3 3
      custom_components/tuya_local/devices/greenwind_dehumidifier.yaml
  19. 2 2
      custom_components/tuya_local/devices/honeywell_dehumidifier.yaml
  20. 2 2
      custom_components/tuya_local/devices/hyundai_sahara_dehumidifier.yaml
  21. 4 4
      custom_components/tuya_local/devices/inventor_atmospherexl_dehumidifier.yaml
  22. 3 3
      custom_components/tuya_local/devices/inventor_evaionpro_dehumidifier.yaml
  23. 3 3
      custom_components/tuya_local/devices/jjpro_jpd01_dehumidifier.yaml
  24. 6 6
      custom_components/tuya_local/devices/jjpro_jpd02_dehumidifier.yaml
  25. 2 2
      custom_components/tuya_local/devices/klarta_humea_humidifier.yaml
  26. 4 4
      custom_components/tuya_local/devices/kogan_dehumidifier.yaml
  27. 2 2
      custom_components/tuya_local/devices/shinco_30d_dehumidifier.yaml
  28. 2 2
      custom_components/tuya_local/devices/stadlerform_eva_humidifier.yaml
  29. 2 2
      custom_components/tuya_local/devices/stadlerform_karl_humidifier.yaml

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

@@ -29,15 +29,15 @@ primary_entity:
       type: string
       mapping:
         - dps_val: Continuous
-          value: Continuous
+          value: boost
           icon: mdi:tshirt-crew-outline
           icon_priority: 3
         - dps_val: Sunny_Day
-          value: Sunny_Day
+          value: eco
           icon: "mdi:weather-sunny"
           icon_priority: 3
         - dps_val: Rain_Day
-          value: Rain_Day
+          value: normal
           icon: "mdi:weather-pouring"
           icon_priority: 3
     - id: 19

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

@@ -14,9 +14,9 @@ primary_entity:
       type: string
       mapping:
         - dps_val: "1"
-          value: Continuous
+          value: boost
         - dps_val: "0"
-          value: Auto
+          value: auto
     - id: 4
       name: humidity
       type: integer

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

@@ -26,9 +26,9 @@ primary_entity:
       type: string
       mapping:
         - dps_val: manual
-          value: Manual
+          value: normal
         - dps_val: laundry
-          value: Dry clothes
+          value: boost
           icon: "mdi:tshirt-crew-outline"
           icon_priority: 3
         - dps_val: purify
@@ -36,7 +36,7 @@ primary_entity:
           icon: "mdi:air-filter"
           icon_priority: 3
         - dps_val: sleep
-          value: Sleep
+          value: sleep
           icon: "mdi:power-sleep"
           icon_priority: 3
     - id: 19

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

@@ -29,9 +29,9 @@ primary_entity:
       type: string
       mapping:
         - dps_val: manual
-          value: Manual
+          value: normal
         - dps_val: laundry
-          value: Dry clothes
+          value: boost
           icon: "mdi:tshirt-crew-outline"
           icon_priority: 3
         - dps_val: purify
@@ -39,7 +39,7 @@ primary_entity:
           icon: "mdi:air-filter"
           icon_priority: 3
         - dps_val: sleep
-          value: Sleep
+          value: sleep
           icon: "mdi:power-sleep"
           icon_priority: 3
     - id: 19

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

@@ -14,19 +14,19 @@ primary_entity:
       type: string
       mapping:
         - dps_val: auto
-          value: Auto
+          value: auto
         - dps_val: health
-          value: Health
+          value: comfort
         - dps_val: baby
-          value: Baby
+          value: baby
         - dps_val: sleep
-          value: Sleep
+          value: sleep
         - dps_val: humidity
-          value: Humidity
+          value: eco
         - dps_val: work
-          value: Work
+          value: boost
         - dps_val: manual
-          value: Manual
+          value: normal
     - id: 13             
       name: humidity
       type: integer

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

@@ -29,15 +29,15 @@ primary_entity:
       type: string
       mapping:
         - dps_val: dehumidify
-          value: Smart
+          value: comfort
         - dps_val: drying
           value: Laundry
           icon: "mdi:tshirt-crew-outline"
           icon_priority: 2
         - dps_val: manual
-          value: Target
+          value: normal
         - dps_val: boost
-          value: Boost
+          value: boost
     - id: 9
       type: boolean
       name: defrosst

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

@@ -26,11 +26,11 @@ primary_entity:
       type: string
       mapping:
         - dps_val: manual
-          value: Manual
+          value: normal
         - dps_val: auto
-          value: Auto
+          value: auto
         - dps_val: laundry
-          value: Laundry
+          value: boost
           icon: "mdi:t-shirt-crew"
           icon_priority: 3
         - dps_val: purify

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

@@ -26,13 +26,13 @@ primary_entity:
       type: string
       mapping:
         - dps_val: Manual
-          value: Manual
+          value: normal
         - dps_val: Clothdrying
-          value: Dry Clothes
+          value: boost
           icon: "mdi:t-shirt-crew"
           icon_priority: 3
         - dps_val: SLeeping
-          value: Sleep
+          value: sleep
           icon: "mdi:sleep"
           icon_priority: 3
     - id: 19

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

@@ -26,9 +26,9 @@ primary_entity:
       type: string
       mapping:
         - dps_val: manual
-          value: Manual
+          value: normal
         - dps_val: laundry
-          value: Dry clothes
+          value: boost
           icon: "mdi:tshirt-crew-outline"
           icon_priority: 3
     - id: 19

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

@@ -26,15 +26,15 @@ primary_entity:
       type: string
       mapping:
         - dps_val: "Smart"
-          value: "Smart"
+          value: auto
         - dps_val: "Dehumidify"
-          value: "Dehumidify"
-        - dps_val: "Laundry"
-          value: "Laundry"
+          value: normal
+        - dps_val: Laundry
+          value: boost
           icon: "mdi:tshirt-crew-outline"
           icon_priority: 2
-        - dps_val: "Fan"
-          value: "Air clean"
+        - dps_val: Fan
+          value: Purify
           icon: "mdi:air-purifier"
           icon_priority: 2
     - id: 19

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

@@ -18,9 +18,9 @@ primary_entity:
       type: string
       mapping:
         - dps_val: "auto"
-          value: "Auto"
+          value: auto
         - dps_val: "fan"
-          value: "Air clean"
+          value: Purify
           icon: "mdi:air-purifier"
           icon_priority: 2
     - id: 3

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

@@ -26,9 +26,9 @@ primary_entity:
       type: string
       mapping:
         - dps_val: "Smart"
-          value: "Smart"
+          value: auto
         - dps_val: "Air_purifier"
-          value: "Air Purifier"
+          value: Purify
           icon: "mdi:air-purifier"
           icon_priority: 2
     - id: 6

+ 8 - 8
custom_components/tuya_local/devices/electriq_cd20pro_dehumidifier.yaml

@@ -17,16 +17,16 @@ primary_entity:
       name: mode
       type: string
       mapping:
-        - dps_val: "auto"
-          value: "Auto"
-        - dps_val: "low"
-          value: "Low"
-        - dps_val: "high"
-          value: "High"
+        - dps_val: auto
+          value: auto
+        - dps_val: low
+          value: eco
+        - dps_val: high
+          value: boost
           icon: "mdi:tshirt-crew-outline"
           icon_priority: 2
-        - dps_val: "fan"
-          value: "Air clean"
+        - dps_val: fan
+          value: Purify
           icon: "mdi:air-purifier"
           icon_priority: 2
     - id: 3

+ 8 - 8
custom_components/tuya_local/devices/electriq_cd25pro_dehumidifier.yaml

@@ -18,16 +18,16 @@ primary_entity:
       name: mode
       type: string
       mapping:
-        - dps_val: "auto"
-          value: "Auto"
-        - dps_val: "low"
-          value: "Low"
-        - dps_val: "high"
-          value: "High"
+        - dps_val: auto
+          value: auto
+        - dps_val: low
+          value: eco
+        - dps_val: high
+          value: boost
           icon: "mdi:tshirt-crew-outline"
           icon_priority: 2
-        - dps_val: "fan"
-          value: "Air clean"
+        - dps_val: fan
+          value: Purify
           icon: "mdi:air-purifier"
           icon_priority: 2
     - id: 3

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

@@ -13,11 +13,11 @@ primary_entity:
       name: mode
       mapping:
         - dps_val: "1"
-          value: Dehumidify
+          value: normal
         - dps_val: "2"
-          value: Fan only
+          value: Purify
         - dps_val: "3"
-          value: Dry laundry
+          value: boost
     - id: 4
       name: humidity
       type: integer

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

@@ -22,13 +22,13 @@ primary_entity:
       type: string
       mapping:
         - dps_val: "0"
-          value: "Normal"
+          value: auto
         - dps_val: "1"
-          value: "Low"
+          value: eco
         - dps_val: "2"
-          value: "High"
+          value: comfort
         - dps_val: "3"
-          value: "Dry clothes"
+          value: boost
           icon: "mdi:tshirt-crew-outline"
           icon_priority: 5
     - id: 4

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

@@ -21,16 +21,16 @@ primary_entity:
       type: string
       mapping:
         - dps_val: "2"
-          value: Custom
+          value: normal
           hidden: true
         - dps_val: "4"
-          value: Sleeping space
+          value: sleep
         - dps_val: "5"
-          value: Living space
+          value: comfort
         - dps_val: "6"
-          value: Basement
+          value: eco
         - dps_val: "7"
-          value: Continuous
+          value: boost
     - id: 4
       type: integer
       name: humidity

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

@@ -13,11 +13,11 @@ primary_entity:
       type: integer
       mapping:
         - dps_val: 1
-          value: low
+          value: eco
         - dps_val: 2
-          value: medium
+          value: normal
         - dps_val: 3
-          value: high
+          value: boost
     - id: 6
       name: humidity
       type: integer

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

@@ -28,9 +28,9 @@ primary_entity:
       type: integer
       mapping:
         - dps_val: 0
-          value: low
+          value: eco
         - dps_val: 2
-          value: high
+          value: boost
     - id: 15
       name: error
       type: bitfield

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

@@ -29,9 +29,9 @@ primary_entity:
       name: mode
       mapping:
         - dps_val: false
-          value: Normal
+          value: normal
         - dps_val: true
-          value: Sleep
+          value: sleep
           icon: "mdi:power-sleep"
           icon_priority: 3
     - id: 19

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

@@ -57,13 +57,13 @@ primary_entity:
       name: mode
       mapping:
         - dps_val: auto
-          value: Auto
+          value: auto
         - dps_val: manual
-          value: Manual
+          value: normal
         - dps_val: drying
-          value: Clothes
+          value: boost
         - dps_val: night
-          value: Sleep
+          value: sleep
     - id: 19
       type: bitfield
       name: error_code

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

@@ -19,13 +19,13 @@ primary_entity:
       name: mode
       mapping:
         - dps_val: manual
-          value: Manual
+          value: normal
         - dps_val: continuous
           value: Continuous
         - dps_val: smart
-          value: Smart
+          value: auto
         - dps_val: drying
-          value: Drying
+          value: boost
     - id: 19
       type: bitfield
       name: fault_code

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

@@ -20,7 +20,7 @@ primary_entity:
       type: string
       mapping:
         - dps_val: "0"
-          value: "Normal"
+          value: normal
           icon: "mdi:water-outline"
           icon_priority: 4
         - dps_val: "1"
@@ -28,11 +28,11 @@ primary_entity:
           icon: "mdi:water-plus-outline"
           icon_priority: 4
         - dps_val: "2"
-          value: "Strong"
+          value: boost
           icon: "mdi:tshirt-crew-outline"
           icon_priority: 4
         - dps_val: "3"
-          value: "Ventilation"
+          value: Ventilation
           icon: "mdi:tailwind"
           icon_priority: 4
     - id: 4

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

@@ -27,16 +27,16 @@ primary_entity:
       name: mode
       type: string
       mapping:
-        - dps_val: "Continuities"
-          value: "Strong"
+        - dps_val: Continuities
+          value: boost
           icon: "mdi:tshirt-crew-outline"
           icon_priority: 4
-        - dps_val: "Auto"
-          value: "Auto"
+        - dps_val: Auto
+          value: auto
           icon: "mdi:water-outline"
           icon_priority: 4
-        - dps_val: "Sleep"
-          value: "Sleep"
+        - dps_val: Sleep
+          value: sleep
           icon: "mdi:weather-night"
           icon_priority: 4
     - id: 19

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

@@ -14,9 +14,9 @@ primary_entity:
       name: mode
       mapping:
         - dps_val: true
-          value: Auto
+          value: auto
         - dps_val: false
-          value: Manual
+          value: normal
     - id: 105
       type: string
       name: humidity

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

@@ -18,13 +18,13 @@ primary_entity:
       type: string
       mapping:
         - dps_val: low
-          value: Low
+          value: eco
         - dps_val: middle
-          value: Medium
+          value: normal
         - dps_val: high
-          value: High
+          value: boost
         - dps_val: quickdry
-          value: Dry Clothes
+          value: Laundry
           icon: "mdi:tshirt-crew-outline"
           icon_priority: 3
     - id: 3

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

@@ -14,9 +14,9 @@ primary_entity:
       name: mode
       mapping:
         - dps_val: "0"
-          value: Auto
+          value: auto
         - dps_val: "1"
-          value: Continuous
+          value: boost
     - id: 4
       type: integer
       name: humidity

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

@@ -23,9 +23,9 @@ primary_entity:
       name: mode
       mapping:
         - dps_val: true
-          value: Auto
+          value: auto
         - dps_val: false
-          value: Continuous
+          value: boost
 secondary_entities:
   - entity: sensor
     name: Current humidity

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

@@ -23,9 +23,9 @@ primary_entity:
       name: mode
       mapping:
         - dps_val: true
-          value: Auto
+          value: auto
         - dps_val: false
-          value: Continuous
+          value: boost
 secondary_entities:
   - entity: sensor
     name: Humidity