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

fix (casdon_kg1_waterdispenser): add translation for hot water

This was the only entity without a translated name.

Issue #4231
Jason Rumney 1 месяц назад
Родитель
Сommit
ac472a29c4
24 измененных файлов с 70 добавлено и 0 удалено
  1. 1 0
      custom_components/tuya_local/devices/casdon_kg1_waterdispenser.yaml
  2. 3 0
      custom_components/tuya_local/translations/bg.json
  3. 3 0
      custom_components/tuya_local/translations/ca.json
  4. 3 0
      custom_components/tuya_local/translations/cz.json
  5. 3 0
      custom_components/tuya_local/translations/de.json
  6. 3 0
      custom_components/tuya_local/translations/el.json
  7. 3 0
      custom_components/tuya_local/translations/en.json
  8. 3 0
      custom_components/tuya_local/translations/es.json
  9. 3 0
      custom_components/tuya_local/translations/fr.json
  10. 3 0
      custom_components/tuya_local/translations/hu.json
  11. 3 0
      custom_components/tuya_local/translations/id.json
  12. 3 0
      custom_components/tuya_local/translations/it.json
  13. 3 0
      custom_components/tuya_local/translations/ja.json
  14. 3 0
      custom_components/tuya_local/translations/no-NB.json
  15. 3 0
      custom_components/tuya_local/translations/pl.json
  16. 3 0
      custom_components/tuya_local/translations/pt-BR.json
  17. 3 0
      custom_components/tuya_local/translations/pt-PT.json
  18. 3 0
      custom_components/tuya_local/translations/ro.json
  19. 3 0
      custom_components/tuya_local/translations/ru.json
  20. 3 0
      custom_components/tuya_local/translations/sv.json
  21. 3 0
      custom_components/tuya_local/translations/uk.json
  22. 3 0
      custom_components/tuya_local/translations/ur.json
  23. 3 0
      custom_components/tuya_local/translations/zh-Hans.json
  24. 3 0
      custom_components/tuya_local/translations/zh-Hant.json

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

@@ -114,6 +114,7 @@ entities:
         name: current_temperature
 
   - entity: water_heater
+    translation_only_key: hot_water
     dps:
       - id: 12
         type: integer

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

@@ -1071,6 +1071,9 @@
             },
             "kettle": {
                 "name": "Кана"
+            },
+            "hot_water": {
+                "name": "Гореща вода"
             }
         }
     }

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

@@ -1070,6 +1070,9 @@
             },
             "kettle": {
                 "name": "Bullidor d'aigua"
+            },
+            "hot_water": {
+                "name": "Aigua calenta"
             }
         }
     }

+ 3 - 0
custom_components/tuya_local/translations/cz.json

@@ -1070,6 +1070,9 @@
             },
             "kettle": {
                 "name": "Konvice"
+            },
+            "hot_water": {
+                "name": "Horká voda"
             }
         }
     }

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

@@ -1071,6 +1071,9 @@
             },
             "kettle": {
                 "name": "Wasserkocher"
+            },
+            "hot_water": {
+                "name": "Heißwasserbereiter"
             }
         }
     }

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

@@ -1070,6 +1070,9 @@
             },
             "kettle": {
                 "name": "Βραστήρας"
+            },
+            "hot_water": {
+                "name": "Ζεστό νερό"
             }
         }
     }

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

@@ -1070,6 +1070,9 @@
             },
             "kettle": {
                 "name": "Kettle"
+            },
+            "hot_water": {
+                "name": "Hot water dispenser"
             }
         }
     }

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

@@ -1070,6 +1070,9 @@
             },
             "kettle": {
                 "name": "Hervidor"
+            },
+            "hot_water": {
+                "name": "Agua caliente"
             }
         }
     }

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

@@ -1070,6 +1070,9 @@
             },
             "kettle": {
                 "name": "Bouilloire"
+            },
+            "hot_water": {
+                "name": "Eau chaude"
             }
         }
     }

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

@@ -1071,6 +1071,9 @@
             },
             "kettle": {
                 "name": "Vízforraló"
+            },
+            "hot_water": {
+                "name": "Forró víz"
             }
         }
     }

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

@@ -1070,6 +1070,9 @@
             },
             "kettle": {
                 "name": "Ketel"
+            },
+            "hot_water": {
+                "name": "Air panas"
             }
         }
     }

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

@@ -1071,6 +1071,9 @@
             },
             "kettle": {
                 "name": "Bollitore"
+            },
+            "hot_water": {
+                "name": "Acqua calda"
             }
         }
     }

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

@@ -1070,6 +1070,9 @@
             },
             "kettle": {
                 "name": "ケトル"
+            },
+            "hot_water": {
+                "name": "温水機"
             }
         }
     }

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

@@ -1071,6 +1071,9 @@
             },
             "kettle": {
                 "name": "Vannkoker"
+            },
+            "hot_water": {
+                "name": "Varmtvannsbereder"
             }
         }
     }

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

@@ -1071,6 +1071,9 @@
             },
             "kettle": {
                 "name": "Czajnik"
+            },
+            "hot_water": {
+                "name": "Gorąca woda"
             }
         }
     }

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

@@ -1070,6 +1070,9 @@
             },
             "kettle": {
                 "name": "Chaleira"
+            },
+            "hot_water": {
+                "name": "Água quente"
             }
         }
     }

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

@@ -1070,6 +1070,9 @@
             },
             "kettle": {
                 "name": "Chaleira"
+            },
+            "hot_water": {
+                "name": "Água quente"
             }
         }
     }

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

@@ -1070,6 +1070,9 @@
             },
             "kettle": {
                 "name": "Fierbător"
+            },
+            "hot_water": {
+                "name": "Apă caldă"
             }
         }
     }

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

@@ -1070,6 +1070,9 @@
             },
             "kettle": {
                 "name": "Чайник"
+            },
+            "hot_water": {
+                "name": "Горячая вода"
             }
         }
     }

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

@@ -1070,6 +1070,9 @@
             },
             "kettle": {
                 "name": "Vattenkokare"
+            },
+            "hot_water": {
+                "name": "Varmvattenberedare"
             }
         }
     }

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

@@ -1071,6 +1071,9 @@
             },
             "kettle": {
                 "name": "Чайник"
+            },
+            "hot_water": {
+                "name": "Гаряча вода"
             }
         }
     }

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

@@ -1073,6 +1073,9 @@
             },
             "kettle": {
                 "name": "کیٹل"
+            },
+            "hot_water": {
+                "name": "گرم پانی"
             }
         }
     }

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

@@ -1070,6 +1070,9 @@
             },
             "kettle": {
                 "name": "电热水壶"
+            },
+            "hot_water": {
+                "name": "热水器"
             }
         }
     }

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

@@ -1071,6 +1071,9 @@
             },
             "kettle": {
                 "name": "水壺"
+            },
+            "hot_water": {
+                "name": "熱水機"
             }
         }
     }