فهرست منبع

feat (translations): add switch flip_image translation

Issue #1708
Jason Rumney 2 ماه پیش
والد
کامیت
62f1f6a972
59فایلهای تغییر یافته به همراه145 افزوده شده و 72 حذف شده
  1. 27 0
      custom_components/tuya_local/__init__.py
  2. 1 2
      custom_components/tuya_local/devices/advwin_6l_petfeeder.yaml
  3. 1 2
      custom_components/tuya_local/devices/bcom_intercom_camera.yaml
  4. 1 2
      custom_components/tuya_local/devices/bneta_f1d_petfeeder.yaml
  5. 1 2
      custom_components/tuya_local/devices/cleverio_cd200_doorbell.yaml
  6. 1 1
      custom_components/tuya_local/devices/door_peephole_camera.yaml
  7. 1 2
      custom_components/tuya_local/devices/emos_ip300_camera.yaml
  8. 1 2
      custom_components/tuya_local/devices/feelneedy_plfp01_petfeeder.yaml
  9. 1 2
      custom_components/tuya_local/devices/fuers_videodoorbell.yaml
  10. 1 2
      custom_components/tuya_local/devices/garage_door_camera.yaml
  11. 1 1
      custom_components/tuya_local/devices/homemate_ptzcamera.yaml
  12. 1 2
      custom_components/tuya_local/devices/huntertbk_hf6602t_doorbell.yaml
  13. 1 2
      custom_components/tuya_local/devices/igethome_ds1_videodoorbell.yaml
  14. 1 2
      custom_components/tuya_local/devices/kerui_200w_camera.yaml
  15. 1 2
      custom_components/tuya_local/devices/kerui_300w_camera.yaml
  16. 1 2
      custom_components/tuya_local/devices/kw02_video_doorbell.yaml
  17. 1 2
      custom_components/tuya_local/devices/lindasmart_7s_doorbell.yaml
  18. 1 1
      custom_components/tuya_local/devices/lsc_ptz_camera.yaml
  19. 1 1
      custom_components/tuya_local/devices/lscsmartconnect_camerapetfeeder.yaml
  20. 1 1
      custom_components/tuya_local/devices/lscsmartconnect_outdoorcamera.yaml
  21. 1 1
      custom_components/tuya_local/devices/lscsmartconnect_outdoorptzcamera.yaml
  22. 1 2
      custom_components/tuya_local/devices/moes_indoorptz_camera.yaml
  23. 1 2
      custom_components/tuya_local/devices/moes_wcmp52_camera.yaml
  24. 1 2
      custom_components/tuya_local/devices/myq_td8_videodoorbell.yaml
  25. 1 2
      custom_components/tuya_local/devices/nedis_outdoor_camera.yaml
  26. 1 2
      custom_components/tuya_local/devices/nexsmart_air2_camera.yaml
  27. 1 2
      custom_components/tuya_local/devices/nexsmart_air3_camera.yaml
  28. 1 2
      custom_components/tuya_local/devices/nexsmart_watch2_camera.yaml
  29. 1 2
      custom_components/tuya_local/devices/ningbo_bf314a_petfeeder.yaml
  30. 1 2
      custom_components/tuya_local/devices/petlibro_camera_feeder.yaml
  31. 1 2
      custom_components/tuya_local/devices/pinelake_birdfeeder.yaml
  32. 1 2
      custom_components/tuya_local/devices/rhpd10_doorbell_camera.yaml
  33. 1 2
      custom_components/tuya_local/devices/sc116wz3a_camera.yaml
  34. 1 1
      custom_components/tuya_local/devices/smcm_doorbellpro_camera.yaml
  35. 1 2
      custom_components/tuya_local/devices/v330l_petfeeder.yaml
  36. 13 10
      custom_components/tuya_local/icons.json
  37. 3 0
      custom_components/tuya_local/translations/bg.json
  38. 3 0
      custom_components/tuya_local/translations/ca.json
  39. 3 0
      custom_components/tuya_local/translations/cz.json
  40. 3 0
      custom_components/tuya_local/translations/de.json
  41. 3 0
      custom_components/tuya_local/translations/el.json
  42. 3 0
      custom_components/tuya_local/translations/en.json
  43. 3 0
      custom_components/tuya_local/translations/es.json
  44. 3 0
      custom_components/tuya_local/translations/fr.json
  45. 3 0
      custom_components/tuya_local/translations/hu.json
  46. 3 0
      custom_components/tuya_local/translations/id.json
  47. 3 0
      custom_components/tuya_local/translations/it.json
  48. 3 0
      custom_components/tuya_local/translations/ja.json
  49. 3 0
      custom_components/tuya_local/translations/no-NB.json
  50. 3 0
      custom_components/tuya_local/translations/pl.json
  51. 3 0
      custom_components/tuya_local/translations/pt-BR.json
  52. 3 0
      custom_components/tuya_local/translations/pt-PT.json
  53. 3 0
      custom_components/tuya_local/translations/ro.json
  54. 3 0
      custom_components/tuya_local/translations/ru.json
  55. 3 0
      custom_components/tuya_local/translations/sv.json
  56. 3 0
      custom_components/tuya_local/translations/uk.json
  57. 5 1
      custom_components/tuya_local/translations/ur.json
  58. 3 0
      custom_components/tuya_local/translations/zh-Hans.json
  59. 3 0
      custom_components/tuya_local/translations/zh-Hant.json

+ 27 - 0
custom_components/tuya_local/__init__.py

@@ -710,6 +710,33 @@ async def async_migrate_entry(hass, entry: ConfigEntry):
         await async_migrate_entries(hass, entry.entry_id, update_unique_id3_12)
         hass.config_entries.async_update_entry(entry, minor_version=12)
 
+    if entry.version == 13 and entry.minor_version < 13:
+        # Migrate unique ids of existing entities to new id taking into
+        # account translation_key, and standardising naming
+        device_id = get_device_unique_id(entry)
+        conf_file = await hass.async_add_executor_job(
+            get_config,
+            entry.data[CONF_TYPE],
+        )
+        if conf_file is None:
+            _LOGGER.error(
+                NOT_FOUND,
+                entry.data[CONF_TYPE],
+            )
+            return False
+
+        @callback
+        def update_unique_id13_13(entity_entry):
+            """Update the unique id of an entity entry."""
+            # Standardistion of entity naming to use translation_key
+            replacements = {
+                "switch_flip": "switch_flip_image",
+            }
+            return replace_unique_ids(entity_entry, device_id, conf_file, replacements)
+
+        await async_migrate_entries(hass, entry.entry_id, update_unique_id13_13)
+        hass.config_entries.async_update_entry(entry, minor_version=13)
+
     return True
 
 

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

@@ -27,8 +27,7 @@ entities:
         optional: true
         name: switch
   - entity: switch
-    name: Flip image
-    icon: "mdi:flip-horizontal"
+    translation_key: flip_image
     category: config
     dps:
       - id: 103

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

@@ -46,8 +46,7 @@ entities:
         type: boolean
         name: switch
   - entity: switch
-    name: Flip image
-    icon: "mdi:flip-horizontal"
+    translation_key: flip_image
     category: config
     dps:
       - id: 103

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

@@ -12,8 +12,7 @@ entities:
         type: boolean
         name: switch
   - entity: switch
-    name: Flip image
-    icon: "mdi:flip-horizontal"
+    translation_key: flip_image
     category: config
     dps:
       - id: 103

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

@@ -29,8 +29,7 @@ entities:
         optional: true
         name: motion_enable
   - entity: switch
-    name: Flip image
-    icon: "mdi:flip-horizontal"
+    translation_key: flip_image
     category: config
     dps:
       - id: 103

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

@@ -17,7 +17,7 @@ entities:
         name: record
         optional: true
   - entity: switch
-    name: Flip image
+    translation_key: flip_image
     category: config
     dps:
       - id: 103

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

@@ -35,8 +35,7 @@ entities:
         type: boolean
         name: switch
   - entity: switch
-    name: Flip image
-    icon: "mdi:rotate-180"
+    translation_key: flip_image
     category: config
     dps:
       - id: 103

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

@@ -5,8 +5,7 @@ products:
     model: P-LFP01
 entities:
   - entity: switch
-    name: Flip image
-    icon: "mdi:flip-horizontal"
+    translation_key: flip_image
     category: config
     dps:
       - id: 103

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

@@ -4,8 +4,7 @@ products:
     manufacturer: Kerui
 entities:
   - entity: switch
-    name: Flip image
-    icon: "mdi:flip-horizontal"
+    translation_key: flip_image
     category: config
     dps:
       - id: 103

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

@@ -13,8 +13,7 @@ entities:
         name: record
         optional: true
   - entity: switch
-    name: Flip image
-    icon: "mdi:flip-horizontal"
+    translation_key: flip_image
     category: config
     dps:
       - id: 103

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

@@ -21,7 +21,7 @@ entities:
         type: boolean
         name: record
   - entity: switch
-    name: Flip image
+    translation_key: flip_image
     category: config
     dps:
       - id: 103

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

@@ -35,8 +35,7 @@ entities:
         type: boolean
         name: switch
   - entity: switch
-    name: Flip image
-    icon: "mdi:flip-horizontal"
+    translation_key: flip_image
     category: config
     dps:
       - id: 103

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

@@ -12,8 +12,7 @@ entities:
         type: boolean
         name: switch
   - entity: switch
-    name: Flip image
-    icon: "mdi:flip-horizontal"
+    translation_key: flip_image
     category: config
     dps:
       - id: 103

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

@@ -37,8 +37,7 @@ entities:
         type: boolean
         name: switch
   - entity: switch
-    name: Flip image
-    icon: "mdi:flip-horizontal"
+    translation_key: flip_image
     category: config
     dps:
       - id: 103

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

@@ -45,8 +45,7 @@ entities:
         type: boolean
         name: switch
   - entity: switch
-    name: Flip image
-    icon: "mdi:flip-horizontal"
+    translation_key: flip_image
     category: config
     dps:
       - id: 103

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

@@ -56,8 +56,7 @@ entities:
         type: boolean
         name: switch
   - entity: switch
-    name: Flip image
-    icon: "mdi:flip-horizontal"
+    translation_key: flip_image
     category: config
     dps:
       - id: 103

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

@@ -25,8 +25,7 @@ entities:
         optional: true
         name: motion_enable
   - entity: switch
-    name: Flip image
-    icon: "mdi:flip-horizontal"
+    translation_key: flip_image
     category: config
     dps:
       - id: 103

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

@@ -39,7 +39,7 @@ entities:
         sensitive: true
         name: snapshot
   - entity: switch
-    name: Flip image
+    translation_key: flip_image
     category: config
     dps:
       - id: 103

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

@@ -22,7 +22,7 @@ entities:
         sensitive: true
         name: snapshot
   - entity: switch
-    name: Flip image
+    translation_key: flip_image
     category: config
     dps:
       - id: 103

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

@@ -33,7 +33,7 @@ entities:
         sensitive: true
         name: snapshot
   - entity: switch
-    name: Flip image
+    translation_key: flip_image
     category: config
     dps:
       - id: 103

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

@@ -34,7 +34,7 @@ entities:
         sensitive: true
         name: snapshot
   - entity: switch
-    name: Flip image
+    translation_key: flip_image
     category: config
     dps:
       - id: 103

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

@@ -29,8 +29,7 @@ entities:
         type: boolean
         name: switch
   - entity: switch
-    name: Flip image
-    icon: "mdi:flip-horizontal"
+    translation_key: flip_image
     category: config
     dps:
       - id: 103

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

@@ -29,8 +29,7 @@ entities:
         type: boolean
         name: switch
   - entity: switch
-    name: Flip image
-    icon: "mdi:flip-horizontal"
+    translation_key: flip_image
     category: config
     dps:
       - id: 103

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

@@ -40,8 +40,7 @@ entities:
         name: switch
         optional: true
   - entity: switch
-    name: Flip image
-    icon: "mdi:flip-horizontal"
+    translation_key: flip_image
     category: config
     dps:
       - id: 103

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

@@ -35,8 +35,7 @@ entities:
         type: boolean
         name: switch
   - entity: switch
-    name: Flip image
-    icon: "mdi:flip-horizontal"
+    translation_key: flip_image
     category: config
     dps:
       - id: 103

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

@@ -82,9 +82,8 @@ entities:
   # ------------------------------------
 
   - entity: switch
-    name: Flip image
+    translation_key: flip_image
     category: config
-    icon: "mdi:flip-horizontal"
     # Flip Image Switch (matches basic_flip: 103)
     dps:
       - id: 103

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

@@ -90,8 +90,7 @@ entities:
         name: switch
 
   - entity: switch
-    name: Flip image
-    icon: "mdi:flip-horizontal"
+    translation_key: flip_image
     category: config
     # Flip Image Switch (matches basic_flip: 103)
     dps:

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

@@ -68,8 +68,7 @@ entities:
         name: switch
 
   - entity: switch
-    name: Flip image
-    icon: "mdi:flip-horizontal"
+    translation_key: flip_image
     category: config
     # Flip Image Switch (matches basic_flip: 103)
     dps:

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

@@ -12,8 +12,7 @@ entities:
         type: boolean
         name: switch
   - entity: switch
-    name: Flip image
-    icon: "mdi:flip-horizontal"
+    translation_key: flip_image
     category: config
     dps:
       - id: 103

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

@@ -31,8 +31,7 @@ entities:
         type: boolean
         name: switch
   - entity: switch
-    name: Flip
-    icon: "mdi:flip-horizontal"
+    translation_key: flip_image
     category: config
     dps:
       - id: 103

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

@@ -61,8 +61,7 @@ entities:
         optional: true
         force: true
   - entity: switch
-    name: Flip image
-    icon: "mdi:flip-horizontal"
+    translation_key: flip_image
     category: config
     dps:
       - id: 103

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

@@ -29,8 +29,7 @@ entities:
         optional: true
         name: motion_enable
   - entity: switch
-    name: Flip image
-    icon: "mdi:flip-horizontal"
+    translation_key: flip_image
     category: config
     dps:
       - id: 103

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

@@ -30,9 +30,8 @@ entities:
         type: boolean
         name: switch
   - entity: switch
-    name: Flip image
+    translation_key: flip_image
     category: config
-    icon: "mdi:flip-vertical"
     dps:
       - id: 103
         type: boolean

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

@@ -21,7 +21,7 @@ entities:
         type: boolean
         name: switch
   - entity: switch
-    name: Flip image
+    translation_key: flip_image
     category: config
     dps:
       - id: 103

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

@@ -62,8 +62,7 @@ entities:
         type: boolean
         name: switch
   - entity: switch
-    name: Flip
-    icon: "mdi:flip-horizontal"
+    translation_key: flip_image
     category: config
     dps:
       - id: 103

+ 13 - 10
custom_components/tuya_local/icons.json

@@ -549,15 +549,28 @@
                     "off": "mdi:lightbulb-off"
                 }
             },
+            "breaker": {
+                "default": "mdi:fuse",
+                "state": {
+                    "on": "mdi:fuse",
+                    "off": "mdi:fuse-off"
+                }
+            },
             "do_not_disturb": {
                 "default": "mdi:bell-sleep",
                 "state": {
                     "off": "mdi:bell-ring"
                 }
             },
+            "electrolytic_sterilization": {
+                "default": "mdi:flash"
+            },
             "evaporator_cleaning": {
                 "default": "mdi:shimmer"
             },
+            "flip_image": {
+                "default": "mdi:flip-horizontal"
+            },
             "ionizer": {
                 "default": "mdi:creation"
             },
@@ -569,16 +582,6 @@
             },
             "uv_sterilization": {
                 "default": "mdi:sun-wireless"
-            },
-            "electrolytic_sterilization": {
-                "default": "mdi:flash"
-            },
-            "breaker": {
-                "default": "mdi:fuse",
-                "state": {
-                    "on": "mdi:fuse",
-                    "off": "mdi:fuse-off"
-                }
             }
         },
         "text": {

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

@@ -1019,6 +1019,9 @@
             "evaporator_cleaning": {
                 "name": "Почистване изпарител"
             },
+            "flip_image": {
+                "name": "Обръщане на изображението"
+            },
             "ionizer": {
                 "name": "Йонизатор"
             },

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

@@ -1015,6 +1015,9 @@
             "do_not_disturb": {
                 "name": "No molestar"
             },
+            "flip_image": {
+                "name": "Gira la imatge"
+            },
             "evaporator_cleaning": {
                 "name": "Neteja de l'evaporador"
             },

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

@@ -1015,6 +1015,9 @@
             "do_not_disturb": {
                 "name": "Nerušit"
             },
+            "flip_image": {
+                "name": "Otočit obraz"
+            },
             "evaporator_cleaning": {
                 "name": "Čištění výparníku"
             },

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

@@ -1019,6 +1019,9 @@
             "evaporator_cleaning": {
                 "name": "Verdampferreinigung"
             },
+            "flip_image": {
+                "name": "Bild umdrehen"
+            },
             "ionizer": {
                 "name": "Ionisator"
             },

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

@@ -1018,6 +1018,9 @@
             "evaporator_cleaning": {
                 "name": "Καθαρισμός αποστακτήρα"
             },
+            "flip_image": {
+                "name": "Αναστροφή εικόνας"
+            },
             "ionizer": {
                 "name": "Ιονιστής"
             },

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

@@ -1018,6 +1018,9 @@
             "evaporator_cleaning": {
                 "name": "Evaporator cleaning"
             },
+            "flip_image": {
+                "name": "Flip image"
+            },
             "ionizer": {
                 "name": "Ionizer"
             },

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

@@ -1018,6 +1018,9 @@
             "evaporator_cleaning": {
                 "name": "Limpieza del evaporador"
             },
+            "flip_image": {
+                "name": "Voltear imagen"
+            },
             "ionizer": {
                 "name": "Ionizador"
             },

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

@@ -1018,6 +1018,9 @@
             "evaporator_cleaning": {
                 "name": "Nettoyage évaporateur"
             },
+            "flip_image": {
+                "name": "Retourner l'image"
+            },
             "ionizer": {
                 "name": "Ioniseur"
             },

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

@@ -1019,6 +1019,9 @@
             "evaporator_cleaning": {
                 "name": "Elpárologtató tisztítása"
             },
+            "flip_image": {
+                "name": "Kép megfordítása"
+            },
             "ionizer": {
                 "name": "Ionizáló"
             },

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

@@ -1018,6 +1018,9 @@
             "evaporator_cleaning": {
                 "name": "Pembersihan evaporator"
             },
+            "flip_image": {
+                "name": "Balik gambar"
+            },
             "ionizer": {
                 "name": "Pengion"
             },

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

@@ -1019,6 +1019,9 @@
             "evaporator_cleaning": {
                 "name": "Pulizia evaporatore"
             },
+            "flip_image": {
+                "name": "Capovolgi immagine"
+            },
             "ionizer": {
                 "name": "Ionizzatore"
             },

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

@@ -1018,6 +1018,9 @@
             "evaporator_cleaning": {
                 "name": "エバポレーターの掃除"
             },
+            "flip_image": {
+                "name": "画像を反転"
+            },
             "ionizer": {
                 "name": "イオナイザー"
             },

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

@@ -1019,6 +1019,9 @@
             "evaporator_cleaning": {
                 "name": "Rengjøring av fordamper"
             },
+            "flip_image": {
+                "name": "Speilvendt bilde"
+            },
             "ionizer": {
                 "name": "Ionisator"
             },

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

@@ -1019,6 +1019,9 @@
             "evaporator_cleaning": {
                 "name": "Czyszczenie parownika"
             },
+            "flip_image": {
+                "name": "Odwróć obraz"
+            },
             "ionizer": {
                 "name": "Jonizator"
             },

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

@@ -1018,6 +1018,9 @@
             "evaporator_cleaning": {
                 "name": "Limpeza de evaporador"
             },
+            "flip_image": {
+                "name": "Inverter imagem"
+            },
             "ionizer": {
                 "name": "Ionizador"
             },

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

@@ -1018,6 +1018,9 @@
             "evaporator_cleaning": {
                 "name": "Limpeza de evaporador"
             },
+            "flip_image": {
+                "name": "Virar imagem"
+            },
             "ionizer": {
                 "name": "Ionizador"
             },

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

@@ -1018,6 +1018,9 @@
             "evaporator_cleaning": {
                 "name": "Curățare evaporator"
             },
+            "flip_image": {
+                "name": "Răsucire imagine"
+            },
             "ionizer": {
                 "name": "Ionizator"
             },

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

@@ -1018,6 +1018,9 @@
             "evaporator_cleaning": {
                 "name": "Очистка испарителя"
             },
+            "flip_image": {
+                "name": "Перевернуть изображение"
+            },
             "ionizer": {
                 "name": "Ионизатор"
             },

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

@@ -1018,6 +1018,9 @@
             "evaporator_cleaning": {
                 "name": "Förångarrengöring"
             },
+            "flip_image": {
+                "name": "Vänd bild"
+            },
             "ionizer": {
                 "name": "Jonisering"
             },

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

@@ -1019,6 +1019,9 @@
             "evaporator_cleaning": {
                 "name": "Очищення випарника"
             },
+            "flip_image": {
+                "name": "Перевернути зображення"
+            },
             "ionizer": {
                 "name": "Іонізатор"
             },

+ 5 - 1
custom_components/tuya_local/translations/ur.json

@@ -1,3 +1,4 @@
+
 {
     "title": "ٹویا لوکل",
     "config": {
@@ -1020,8 +1021,11 @@
             "evaporator_cleaning": {
                 "name": "بخارات کی صفائی"
             },
+            "flip_image": {
+                "name": "تصویر پلٹائیں"
+            },
             "ionizer": {
-                "name": "Ionizer"
+                "name": "آئنائزر"
             },
             "keytone": {
                 "name": "کی پیڈ ٹون"

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

@@ -1018,6 +1018,9 @@
             "evaporator_cleaning": {
                 "name": "蒸发器清洁"
             },
+            "flip_image": {
+                "name": "翻转图像"
+            },
             "ionizer": {
                 "name": "离子发生器"
             },

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

@@ -1019,6 +1019,9 @@
             "evaporator_cleaning": {
                 "name": "蒸發器清潔"
             },
+            "flip_image": {
+                "name": "翻轉圖像"
+            },
             "ionizer": {
                 "name": "離子產生器"
             },