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

Use hot_water translation for water heaters.

When language is not English, it is better not to use the device name
due to no name set.

Since the water_air translation key no longer overrides operation_mode
also change instances of that where it will not affect the entity id

translations: #1708
Jason Rumney 1 месяц назад
Родитель
Сommit
26d6a5c5d6
28 измененных файлов с 28 добавлено и 6 удалено
  1. 1 0
      custom_components/tuya_local/devices/apricus_heat_pump_water_heater.yaml
  2. 1 0
      custom_components/tuya_local/devices/aquatech_x6_water_heater.yaml
  3. 1 1
      custom_components/tuya_local/devices/axen_ks100w_heatpump.yaml
  4. 1 0
      custom_components/tuya_local/devices/ems_waterheater.yaml
  5. 1 0
      custom_components/tuya_local/devices/ferroli_titano_twin.yaml
  6. 1 0
      custom_components/tuya_local/devices/fisher_water_heatpump.yaml
  7. 1 0
      custom_components/tuya_local/devices/geyserwise_mws_water_heater.yaml
  8. 1 0
      custom_components/tuya_local/devices/geyserwise_water_heater.yaml
  9. 1 0
      custom_components/tuya_local/devices/giatsu_vaw2_waterheater.yaml
  10. 1 1
      custom_components/tuya_local/devices/hy_combo_heatpump.yaml
  11. 1 0
      custom_components/tuya_local/devices/hydrotherm_dynamic_x8_water_heater.yaml
  12. 1 0
      custom_components/tuya_local/devices/hydrotherm_dynamic_x8_water_heaterv6.yaml
  13. 1 0
      custom_components/tuya_local/devices/intaflo_intabloc_airwaterheatpump.yaml
  14. 1 0
      custom_components/tuya_local/devices/kiturami_nctr100_thermostat.yaml
  15. 1 0
      custom_components/tuya_local/devices/koiduo_water_heater.yaml
  16. 1 0
      custom_components/tuya_local/devices/lohxa_sr208c_waterheater.yaml
  17. 1 0
      custom_components/tuya_local/devices/modena_es15sky_waterheater.yaml
  18. 1 0
      custom_components/tuya_local/devices/neopower_heat_pump_water_heater.yaml
  19. 1 1
      custom_components/tuya_local/devices/nulite_nlb245_heatpump.yaml
  20. 1 1
      custom_components/tuya_local/devices/powerworld_pw58330_waterheater.yaml
  21. 1 1
      custom_components/tuya_local/devices/powerworld_pw58410_hvaconly.yaml
  22. 1 1
      custom_components/tuya_local/devices/powerworld_pw58410_waterheater.yaml
  23. 1 0
      custom_components/tuya_local/devices/rinnai_enviroflo_waterheater.yaml
  24. 1 0
      custom_components/tuya_local/devices/sanden_gaua45hpd_heatpumpcontroller.yaml
  25. 1 0
      custom_components/tuya_local/devices/sime_ecomaxi_vb200_waterheater.yaml
  26. 1 0
      custom_components/tuya_local/devices/thermann_r290_waterheater.yaml
  27. 1 0
      custom_components/tuya_local/devices/thermex_if50v_waterheater.yaml
  28. 1 0
      custom_components/tuya_local/devices/thermex_lima80v_waterheater.yaml

+ 1 - 0
custom_components/tuya_local/devices/apricus_heat_pump_water_heater.yaml

@@ -1,6 +1,7 @@
 name: Water heat pump
 name: Water heat pump
 entities:
 entities:
   - entity: water_heater
   - entity: water_heater
+    translation_only_key: hot_water
     dps:
     dps:
       - id: 1
       - id: 1
         name: operation_mode
         name: operation_mode

+ 1 - 0
custom_components/tuya_local/devices/aquatech_x6_water_heater.yaml

@@ -2,6 +2,7 @@ name: Water heater
 # products: Aquatech RAPID/X6
 # products: Aquatech RAPID/X6
 entities:
 entities:
   - entity: water_heater
   - entity: water_heater
+    translation_only_key: hot_water
     dps:
     dps:
       - id: 1
       - id: 1
         type: boolean
         type: boolean

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

@@ -161,7 +161,7 @@ entities:
         mapping:
         mapping:
           - scale: 10
           - scale: 10
   - entity: water_heater
   - entity: water_heater
-    translation_only_key: water_air
+    translation_only_key: hot_water
     dps:
     dps:
       - id: 1
       - id: 1
         type: boolean
         type: boolean

+ 1 - 0
custom_components/tuya_local/devices/ems_waterheater.yaml

@@ -6,6 +6,7 @@ products:
     model_id: TH200DT
     model_id: TH200DT
 entities:
 entities:
   - entity: water_heater
   - entity: water_heater
+    translation_only_key: hot_water
     dps:
     dps:
       - id: 1
       - id: 1
         type: boolean
         type: boolean

+ 1 - 0
custom_components/tuya_local/devices/ferroli_titano_twin.yaml

@@ -6,6 +6,7 @@ products:
     model_id: DT EWH
     model_id: DT EWH
 entities:
 entities:
   - entity: water_heater
   - entity: water_heater
+    translation_only_key: hot_water
     dps:
     dps:
       - id: 1
       - id: 1
         name: operation_mode
         name: operation_mode

+ 1 - 0
custom_components/tuya_local/devices/fisher_water_heatpump.yaml

@@ -46,6 +46,7 @@ entities:
         type: integer
         type: integer
         name: temp_current_f
         name: temp_current_f
   - entity: water_heater
   - entity: water_heater
+    translation_only_key: hot_water
     dps:
     dps:
       - id: 7
       - id: 7
         name: operation_mode
         name: operation_mode

+ 1 - 0
custom_components/tuya_local/devices/geyserwise_mws_water_heater.yaml

@@ -6,6 +6,7 @@ products:
     name: Solar MPPT Geyser
     name: Solar MPPT Geyser
 entities:
 entities:
   - entity: water_heater
   - entity: water_heater
+    translation_only_key: hot_water
     dps:
     dps:
       - id: 1
       - id: 1
         type: boolean
         type: boolean

+ 1 - 0
custom_components/tuya_local/devices/geyserwise_water_heater.yaml

@@ -6,6 +6,7 @@ products:
     name: Geyser timer and controller
     name: Geyser timer and controller
 entities:
 entities:
   - entity: water_heater
   - entity: water_heater
+    translation_only_key: hot_water
     dps:
     dps:
       - id: 1
       - id: 1
         type: boolean
         type: boolean

+ 1 - 0
custom_components/tuya_local/devices/giatsu_vaw2_waterheater.yaml

@@ -5,6 +5,7 @@ products:
     model: GIA-ATS-O-300VAWT
     model: GIA-ATS-O-300VAWT
 entities:
 entities:
   - entity: water_heater
   - entity: water_heater
+    translation_only_key: hot_water
     dps:
     dps:
       - id: 1
       - id: 1
         type: boolean
         type: boolean

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

@@ -91,7 +91,7 @@ entities:
           min: 7
           min: 7
           max: 25
           max: 25
   - entity: water_heater
   - entity: water_heater
-    translation_only_key: water_air
+    translation_only_key: hot_water
     dps:
     dps:
       - id: 1
       - id: 1
         type: boolean
         type: boolean

+ 1 - 0
custom_components/tuya_local/devices/hydrotherm_dynamic_x8_water_heater.yaml

@@ -2,6 +2,7 @@ name: Hot water
 # products: Hydrotherm DYNAMIC/X8
 # products: Hydrotherm DYNAMIC/X8
 entities:
 entities:
   - entity: water_heater
   - entity: water_heater
+    translation_only_key: hot_water
     dps:
     dps:
       - id: 1
       - id: 1
         type: boolean
         type: boolean

+ 1 - 0
custom_components/tuya_local/devices/hydrotherm_dynamic_x8_water_heaterv6.yaml

@@ -5,6 +5,7 @@ products:
     model: Dynamic X8 gen 6
     model: Dynamic X8 gen 6
 entities:
 entities:
   - entity: water_heater
   - entity: water_heater
+    translation_only_key: hot_water
     dps:
     dps:
       - id: 1
       - id: 1
         type: boolean
         type: boolean

+ 1 - 0
custom_components/tuya_local/devices/intaflo_intabloc_airwaterheatpump.yaml

@@ -94,6 +94,7 @@ entities:
         type: integer
         type: integer
         name: current_temperature
         name: current_temperature
   - entity: water_heater
   - entity: water_heater
+    translation_only_key: hot_water
     dps:
     dps:
       - id: 1
       - id: 1
         type: boolean
         type: boolean

+ 1 - 0
custom_components/tuya_local/devices/kiturami_nctr100_thermostat.yaml

@@ -54,6 +54,7 @@ entities:
         type: integer
         type: integer
         name: room_temperature
         name: room_temperature
   - entity: water_heater
   - entity: water_heater
+    translation_only_key: hot_water
     dps:
     dps:
       - id: 1
       - id: 1
         type: boolean
         type: boolean

+ 1 - 0
custom_components/tuya_local/devices/koiduo_water_heater.yaml

@@ -5,6 +5,7 @@ products:
     model: HTW-TD-080
     model: HTW-TD-080
 entities:
 entities:
   - entity: water_heater
   - entity: water_heater
+    translation_only_key: hot_water
     dps:
     dps:
       - id: 1
       - id: 1
         type: boolean
         type: boolean

+ 1 - 0
custom_components/tuya_local/devices/lohxa_sr208c_waterheater.yaml

@@ -5,6 +5,7 @@ products:
     model: SR208C
     model: SR208C
 entities:
 entities:
   - entity: water_heater
   - entity: water_heater
+    translation_only_key: hot_water
     dps:
     dps:
       - id: 1
       - id: 1
         type: boolean
         type: boolean

+ 1 - 0
custom_components/tuya_local/devices/modena_es15sky_waterheater.yaml

@@ -5,6 +5,7 @@ products:
     model: ES-15-SKY
     model: ES-15-SKY
 entities:
 entities:
   - entity: water_heater
   - entity: water_heater
+    translation_only_key: hot_water
     dps:
     dps:
       - id: 1
       - id: 1
         type: boolean
         type: boolean

+ 1 - 0
custom_components/tuya_local/devices/neopower_heat_pump_water_heater.yaml

@@ -5,6 +5,7 @@ products:
     model: Black Diamond all-in-one
     model: Black Diamond all-in-one
 entities:
 entities:
   - entity: water_heater
   - entity: water_heater
+    translation_only_key: hot_water
     dps:
     dps:
       - id: 1
       - id: 1
         type: boolean
         type: boolean

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

@@ -76,7 +76,7 @@ entities:
         type: bitfield
         type: bitfield
         name: fault_code
         name: fault_code
   - entity: water_heater
   - entity: water_heater
-    translation_only_key: water_air
+    translation_only_key: hot_water
     dps:
     dps:
       - id: 101
       - id: 101
         type: integer
         type: integer

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

@@ -8,7 +8,7 @@ products:
 #     model: PW58330
 #     model: PW58330
 entities:
 entities:
   - entity: water_heater
   - entity: water_heater
-    translation_only_key: water_air
+    translation_only_key: hot_water
     dps:
     dps:
       - id: 1
       - id: 1
         type: boolean
         type: boolean

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

@@ -69,7 +69,7 @@ entities:
           min: 0
           min: 0
           max: 99
           max: 99
   - entity: water_heater
   - entity: water_heater
-    translation_only_key: water_air
+    translation_only_key: hot_water
     dps:
     dps:
       - id: 1
       - id: 1
         type: boolean
         type: boolean

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

@@ -5,7 +5,7 @@ products:
     model: PW58410
     model: PW58410
 entities:
 entities:
   - entity: water_heater
   - entity: water_heater
-    translation_only_key: water_air
+    translation_only_key: hot_water
     dps:
     dps:
       - id: 1
       - id: 1
         type: boolean
         type: boolean

+ 1 - 0
custom_components/tuya_local/devices/rinnai_enviroflo_waterheater.yaml

@@ -5,6 +5,7 @@ products:
     model: Enviroflo
     model: Enviroflo
 entities:
 entities:
   - entity: water_heater
   - entity: water_heater
+    translation_only_key: hot_water    
     dps:
     dps:
       - id: 1
       - id: 1
         type: boolean
         type: boolean

+ 1 - 0
custom_components/tuya_local/devices/sanden_gaua45hpd_heatpumpcontroller.yaml

@@ -6,6 +6,7 @@ products:
     name: Heat pump controller
     name: Heat pump controller
 entities:
 entities:
   - entity: water_heater
   - entity: water_heater
+    translation_only_key: hot_water
     dps:
     dps:
       - id: 101
       - id: 101
         type: boolean
         type: boolean

+ 1 - 0
custom_components/tuya_local/devices/sime_ecomaxi_vb200_waterheater.yaml

@@ -5,6 +5,7 @@ products:
     model: EcoMaxi VB 200 WiFi
     model: EcoMaxi VB 200 WiFi
 entities:
 entities:
   - entity: water_heater
   - entity: water_heater
+    translation_only_key: hot_water
     dps:
     dps:
       - id: 1
       - id: 1
         name: operation_mode
         name: operation_mode

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

@@ -10,6 +10,7 @@ entities:
         type: boolean
         type: boolean
         name: switch
         name: switch
   - entity: water_heater
   - entity: water_heater
+    translation_only_key: hot_water
     dps:
     dps:
       - id: 4
       - id: 4
         type: string
         type: string

+ 1 - 0
custom_components/tuya_local/devices/thermex_if50v_waterheater.yaml

@@ -8,6 +8,7 @@ products:
     model: ID 80 V pro
     model: ID 80 V pro
 entities:
 entities:
   - entity: water_heater
   - entity: water_heater
+    translation_only_key: hot_water
     dps:
     dps:
       - id: 101
       - id: 101
         type: boolean
         type: boolean

+ 1 - 0
custom_components/tuya_local/devices/thermex_lima80v_waterheater.yaml

@@ -1,6 +1,7 @@
 name: Water heater
 name: Water heater
 entities:
 entities:
   - entity: water_heater
   - entity: water_heater
+    translation_only_key: hot_water
     dps:
     dps:
       - id: 1
       - id: 1
         type: boolean
         type: boolean