Ver Fonte

feat (translations): add a translation for audio volume number entities

Volume class applies already to spatial volume, but volume entities
are commonly used for audio volume also where devices have an audio
output.

Issue #1708
Jason Rumney há 2 meses atrás
pai
commit
9eb42f9bd2
51 ficheiros alterados com 112 adições e 59 exclusões
  1. 1 2
      custom_components/tuya_local/devices/advwin_6l_petfeeder.yaml
  2. 1 2
      custom_components/tuya_local/devices/airrobo_p20_vacuum.yaml
  3. 1 2
      custom_components/tuya_local/devices/cadence_aroma_diffuser.yaml
  4. 1 2
      custom_components/tuya_local/devices/cleverio_pf100_petfeeder.yaml
  5. 1 2
      custom_components/tuya_local/devices/ilife_a30_pro_vacuum.yaml
  6. 1 2
      custom_components/tuya_local/devices/kabum_smart700_v2023_vaccum.yaml
  7. 1 2
      custom_components/tuya_local/devices/kerui_300w_camera.yaml
  8. 1 2
      custom_components/tuya_local/devices/kogan_lx10_vacuum.yaml
  9. 1 2
      custom_components/tuya_local/devices/kogan_lx8_vacuum.yaml
  10. 2 3
      custom_components/tuya_local/devices/kogan_vacuum_lx15.yaml
  11. 1 2
      custom_components/tuya_local/devices/kw02_video_doorbell.yaml
  12. 1 2
      custom_components/tuya_local/devices/liectroux_g7_vacuum.yaml
  13. 1 2
      custom_components/tuya_local/devices/liectroux_xr500_t3_vacuum.yaml
  14. 1 2
      custom_components/tuya_local/devices/livn_arosa_fireplace.yaml
  15. 1 2
      custom_components/tuya_local/devices/lublueblu_sl60d_vacuum.yaml
  16. 1 2
      custom_components/tuya_local/devices/lubluelu_a901_vacuum.yaml
  17. 1 2
      custom_components/tuya_local/devices/medion_x10sw_vacuum.yaml
  18. 1 2
      custom_components/tuya_local/devices/moes_indoorptz_camera.yaml
  19. 1 2
      custom_components/tuya_local/devices/moes_wcmp52_camera.yaml
  20. 1 2
      custom_components/tuya_local/devices/moes_zcjk_alarmclock.yaml
  21. 1 2
      custom_components/tuya_local/devices/neatsvor_x600_vacuum.yaml
  22. 1 2
      custom_components/tuya_local/devices/ningbo_bf314a_petfeeder.yaml
  23. 1 2
      custom_components/tuya_local/devices/proscenic_m9_vacuum.yaml
  24. 1 2
      custom_components/tuya_local/devices/rhpd10_doorbell_camera.yaml
  25. 1 2
      custom_components/tuya_local/devices/sc116wz3a_camera.yaml
  26. 1 2
      custom_components/tuya_local/devices/tesvor_s6_vacuum.yaml
  27. 1 2
      custom_components/tuya_local/devices/ttec_reobipro_vacuum.yaml
  28. 15 4
      custom_components/tuya_local/icons.json
  29. 3 0
      custom_components/tuya_local/translations/bg.json
  30. 3 0
      custom_components/tuya_local/translations/ca.json
  31. 3 0
      custom_components/tuya_local/translations/cz.json
  32. 3 0
      custom_components/tuya_local/translations/de.json
  33. 3 0
      custom_components/tuya_local/translations/el.json
  34. 3 0
      custom_components/tuya_local/translations/en.json
  35. 3 0
      custom_components/tuya_local/translations/es.json
  36. 3 0
      custom_components/tuya_local/translations/fr.json
  37. 3 0
      custom_components/tuya_local/translations/hu.json
  38. 3 0
      custom_components/tuya_local/translations/id.json
  39. 3 0
      custom_components/tuya_local/translations/it.json
  40. 3 0
      custom_components/tuya_local/translations/ja.json
  41. 3 0
      custom_components/tuya_local/translations/no-NB.json
  42. 3 0
      custom_components/tuya_local/translations/pl.json
  43. 3 0
      custom_components/tuya_local/translations/pt-BR.json
  44. 3 0
      custom_components/tuya_local/translations/pt-PT.json
  45. 3 0
      custom_components/tuya_local/translations/ro.json
  46. 3 0
      custom_components/tuya_local/translations/ru.json
  47. 3 0
      custom_components/tuya_local/translations/sv.json
  48. 3 0
      custom_components/tuya_local/translations/uk.json
  49. 3 0
      custom_components/tuya_local/translations/ur.json
  50. 3 0
      custom_components/tuya_local/translations/zh-Hans.json
  51. 3 0
      custom_components/tuya_local/translations/zh-Hant.json

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

@@ -74,9 +74,8 @@ entities:
           - dps_val: "2"
           - dps_val: "2"
             value: "On"
             value: "On"
   - entity: number
   - entity: number
-    name: Volume
+    translation_key: volume
     category: config
     category: config
-    icon: "mdi:volume-high"
     dps:
     dps:
       - id: 160
       - id: 160
         type: integer
         type: integer

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

@@ -171,9 +171,8 @@ entities:
         unit: min
         unit: min
         class: measurement
         class: measurement
   - entity: number
   - entity: number
-    name: Volume
+    translation_key: volume
     category: config
     category: config
-    icon: "mdi:volume-high"
     dps:
     dps:
       - id: 28
       - id: 28
         type: integer
         type: integer

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

@@ -72,8 +72,7 @@ entities:
           - dps_val: "5"
           - dps_val: "5"
             value: Track 6
             value: Track 6
   - entity: number
   - entity: number
-    name: Volume
-    icon: "mdi:volume-high"
+    translation_key: volume
     dps:
     dps:
       - id: 102
       - id: 102
         type: integer
         type: integer

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

@@ -129,9 +129,8 @@ entities:
             value: true
             value: true
           - value: false
           - value: false
   - entity: number
   - entity: number
-    name: Volume
+    translation_key: volume
     category: config
     category: config
-    icon: "mdi:volume-high"
     dps:
     dps:
       - id: 112
       - id: 112
         type: integer
         type: integer

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

@@ -248,9 +248,8 @@ entities:
           min: 0
           min: 0
           max: 4
           max: 4
   - entity: number
   - entity: number
-    name: Volume
+    translation_key: volume
     category: config
     category: config
-    icon: "mdi:volume-high"
     dps:
     dps:
       - id: 26
       - id: 26
         type: integer
         type: integer

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

@@ -335,9 +335,8 @@ entities:
             value: false
             value: false
             hidden: true
             hidden: true
   - entity: number
   - entity: number
-    name: Volume
+    translation_key: volume
     category: config
     category: config
-    icon: "mdi:volume-high"
     dps:
     dps:
       - id: 26
       - id: 26
         type: integer
         type: integer

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

@@ -286,9 +286,8 @@ entities:
           - dps_val: "2"
           - dps_val: "2"
             value: Continuous
             value: Continuous
   - entity: number
   - entity: number
-    name: Volume
+    translation_key: volume
     category: config
     category: config
-    icon: "mdi:volume-high"
     dps:
     dps:
       - id: 160
       - id: 160
         type: integer
         type: integer

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

@@ -184,9 +184,8 @@ entities:
         type: boolean
         type: boolean
         optional: true
         optional: true
   - entity: number
   - entity: number
-    name: Volume
+    translation_key: volume
     category: config
     category: config
-    icon: "mdi:volume-high"
     dps:
     dps:
       - id: 114
       - id: 114
         type: integer
         type: integer

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

@@ -183,9 +183,8 @@ entities:
         type: boolean
         type: boolean
         optional: true
         optional: true
   - entity: number
   - entity: number
-    name: Volume
+    translation_key: volume
     category: config
     category: config
-    icon: "mdi:volume-high"
     dps:
     dps:
       - id: 114
       - id: 114
         type: integer
         type: integer

+ 2 - 3
custom_components/tuya_local/devices/kogan_vacuum_lx15.yaml

@@ -177,10 +177,9 @@ entities:
       - id: 113
       - id: 113
         name: switch
         name: switch
         type: boolean
         type: boolean
-  - name: Volume
-    entity: number
+  - entity: number
+    translation_key: volume
     category: config
     category: config
-    icon: "mdi:volume-high"
     dps:
     dps:
       - id: 114
       - id: 114
         type: integer
         type: integer

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

@@ -136,9 +136,8 @@ entities:
         optional: true
         optional: true
         name: raw_event
         name: raw_event
   - entity: number
   - entity: number
-    name: Volume
+    translation_key: volume
     category: config
     category: config
-    icon: "mdi:volume-high"
     dps:
     dps:
       - id: 160
       - id: 160
         type: integer
         type: integer

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

@@ -184,9 +184,8 @@ entities:
         type: boolean
         type: boolean
         optional: true
         optional: true
   - entity: number
   - entity: number
-    name: Volume
+    translation_key: volume
     category: config
     category: config
-    icon: "mdi:volume-high"
     dps:
     dps:
       - id: 114
       - id: 114
         type: integer
         type: integer

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

@@ -192,9 +192,8 @@ entities:
         type: boolean
         type: boolean
         name: switch
         name: switch
   - entity: number
   - entity: number
-    name: Volume
+    translation_key: volume
     category: config
     category: config
-    icon: "mdi:volume-high"
     dps:
     dps:
       - id: 26
       - id: 26
         type: integer
         type: integer

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

@@ -290,9 +290,8 @@ entities:
         optional: true
         optional: true
         name: switch
         name: switch
   - entity: number
   - entity: number
-    name: Volume
+    translation_key: volume
     category: config
     category: config
-    icon: "mdi:volume-high"
     dps:
     dps:
       - id: 115
       - id: 115
         type: integer
         type: integer

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

@@ -246,9 +246,8 @@ entities:
         unit: min
         unit: min
         optional: true
         optional: true
   - entity: number
   - entity: number
-    name: Volume
+    translation_key: volume
     category: config
     category: config
-    icon: "mdi:volume-high"
     dps:
     dps:
       - id: 26
       - id: 26
         type: integer
         type: integer

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

@@ -151,9 +151,8 @@ entities:
           - dps_val: get_both
           - dps_val: get_both
             value: Fetch both
             value: Fetch both
   - entity: number
   - entity: number
-    name: Volume
+    translation_key: volume
     category: config
     category: config
-    icon: "mdi:volume-high"
     dps:
     dps:
       - id: 26
       - id: 26
         type: integer
         type: integer

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

@@ -295,9 +295,8 @@ entities:
         optional: true
         optional: true
         name: schedule
         name: schedule
   - entity: number
   - entity: number
-    name: Volume
+    translation_key: volume
     category: config
     category: config
-    icon: "mdi:volume-high"
     dps:
     dps:
       - id: 26
       - id: 26
         type: integer
         type: integer

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

@@ -364,9 +364,8 @@ entities:
           - dps_val: "2"
           - dps_val: "2"
             value: Continuous
             value: Continuous
   - entity: number
   - entity: number
-    name: Volume
+    translation_key: volume
     category: config
     category: config
-    icon: "mdi:volume-high"
     dps:
     dps:
       - id: 160
       - id: 160
         type: integer
         type: integer

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

@@ -342,9 +342,8 @@ entities:
           - dps_val: "2"
           - dps_val: "2"
             value: Continuous
             value: Continuous
   - entity: number
   - entity: number
-    name: Volume
+    translation_key: volume
     category: config
     category: config
-    icon: "mdi:volume-high"
     dps:
     dps:
       - id: 160
       - id: 160
         type: integer
         type: integer

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

@@ -47,8 +47,7 @@ entities:
         type: boolean
         type: boolean
         name: switch
         name: switch
   - entity: number
   - entity: number
-    name: Volume
-    icon: "mdi:volume-high"
+    translation_key: volume
     dps:
     dps:
       - id: 106
       - id: 106
         type: integer
         type: integer

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

@@ -269,9 +269,8 @@ entities:
         name: button
         name: button
         optional: true
         optional: true
   - entity: number
   - entity: number
-    name: Volume
+    translation_key: volume
     category: config
     category: config
-    icon: "mdi:volume-high"
     dps:
     dps:
       - id: 26
       - id: 26
         type: integer
         type: integer

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

@@ -173,9 +173,8 @@ entities:
         optional: true
         optional: true
         name: motion_recording
         name: motion_recording
   - entity: number
   - entity: number
-    name: Volume
+    translation_key: volume
     category: config
     category: config
-    icon: "mdi:volume-high"
     dps:
     dps:
       - id: 160
       - id: 160
         type: integer
         type: integer

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

@@ -317,9 +317,8 @@ entities:
         name: button
         name: button
         optional: true
         optional: true
   - entity: number
   - entity: number
-    name: Volume
+    translation_key: volume
     category: config
     category: config
-    icon: "mdi:volume-high"
     dps:
     dps:
       - id: 26
       - id: 26
         type: integer
         type: integer

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

@@ -210,9 +210,8 @@ entities:
           - dps_val: "3"
           - dps_val: "3"
             value: high
             value: high
   - entity: number
   - entity: number
-    name: Volume
+    translation_key: volume
     category: config
     category: config
-    icon: "mdi:volume-high"
     dps:
     dps:
       - id: 160
       - id: 160
         type: integer
         type: integer

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

@@ -325,9 +325,8 @@ entities:
         name: message
         name: message
         optional: true
         optional: true
   - entity: number
   - entity: number
-    name: Volume
+    translation_key: volume
     category: config
     category: config
-    icon: "mdi:volume-high"
     dps:
     dps:
       - id: 160
       - id: 160
         type: integer
         type: integer

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

@@ -309,9 +309,8 @@ entities:
             value: false
             value: false
             hidden: true
             hidden: true
   - entity: number
   - entity: number
-    name: Volume
+    translation_key: volume
     category: config
     category: config
-    icon: "mdi:volume-high"
     dps:
     dps:
       - id: 26
       - id: 26
         type: integer
         type: integer

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

@@ -325,9 +325,8 @@ entities:
             value: false
             value: false
             hidden: true
             hidden: true
   - entity: number
   - entity: number
-    name: Volume
+    translation_key: volume
     category: config
     category: config
-    icon: "mdi:volume-high"
     dps:
     dps:
       - id: 26
       - id: 26
         type: integer
         type: integer

+ 15 - 4
custom_components/tuya_local/icons.json

@@ -154,14 +154,25 @@
             },
             },
             "timer": {
             "timer": {
                 "default": "mdi:timer",
                 "default": "mdi:timer",
-                "state": {
-                    "0": "mdi:timer-cancel"
+                "range": {
+                    "0": "mdi:timer-cancel",
+                    "1": "mdi:timer"
                 }
                 }
             },
             },
             "timer_x": {
             "timer_x": {
                 "default": "mdi:timer",
                 "default": "mdi:timer",
-                "state": {
-                    "0": "mdi:timer-cancel"
+                "range": {
+                    "0": "mdi:timer-cancel",
+                    "1": "mdi:timer"
+                }
+            },
+            "volume": {
+                "default": "mdi:volume-high",
+                "range": {
+                    "0": "mdi:volume-mute",
+                    "1": "mdi:volume-low",
+                    "34": "mdi:volume-medium",
+                    "67": "mdi:volume-high"
                 }
                 }
             }
             }
         },
         },

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

@@ -440,6 +440,9 @@
             },
             },
             "timer_x": {
             "timer_x": {
                 "name": "Таймер {x}"
                 "name": "Таймер {x}"
+            },
+            "volume": {
+                "name": "Обем"
             }
             }
         },
         },
         "select": {
         "select": {

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

@@ -586,6 +586,9 @@
             },
             },
             "timer_x": {
             "timer_x": {
                 "name": "Temporitzador {x}"
                 "name": "Temporitzador {x}"
+            },
+            "volume": {
+                "name": "Volum"
             }
             }
         },
         },
         "select": {
         "select": {

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

@@ -440,6 +440,9 @@
             },
             },
             "timer_x": {
             "timer_x": {
                 "name": "Časovač {x}"
                 "name": "Časovač {x}"
+            },
+            "volume": {
+                "name": "Hlasitost"
             }
             }
         },
         },
         "select": {
         "select": {

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

@@ -440,6 +440,9 @@
             },
             },
             "timer_x": {
             "timer_x": {
                 "name": "Timer {x}"
                 "name": "Timer {x}"
+            },
+            "volume": {
+                "name": "Lautstärke"
             }
             }
         },
         },
         "select": {
         "select": {

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

@@ -440,6 +440,9 @@
             },
             },
             "timer_x": {
             "timer_x": {
                 "name": "Χρονοδιακόπτης {x}"
                 "name": "Χρονοδιακόπτης {x}"
+            },
+            "volume": {
+                "name": "Όγκος"
             }
             }
         },
         },
         "select": {
         "select": {

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

@@ -440,6 +440,9 @@
             },
             },
             "timer_x": {
             "timer_x": {
                 "name": "Timer {x}"
                 "name": "Timer {x}"
+            },
+            "volume": {
+                "name": "Volume"
             }
             }
         },
         },
         "select": {
         "select": {

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

@@ -440,6 +440,9 @@
             },
             },
             "timer_x": {
             "timer_x": {
                 "name": "Temporizador {x}"
                 "name": "Temporizador {x}"
+            },
+            "volume": {
+                "name": "Volumen"
             }
             }
         },
         },
         "select": {
         "select": {

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

@@ -440,6 +440,9 @@
             },
             },
             "timer_x": {
             "timer_x": {
                 "name": "Minuteur {x}"
                 "name": "Minuteur {x}"
+            },
+            "volume": {
+                "name": "Volume"
             }
             }
         },
         },
         "select": {
         "select": {

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

@@ -441,6 +441,9 @@
             },
             },
             "timer_x": {
             "timer_x": {
                 "name": "Időzítő {x}"
                 "name": "Időzítő {x}"
+            },
+            "volume": {
+                "name": "Hangerő"
             }
             }
         },
         },
         "select": {
         "select": {

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

@@ -440,6 +440,9 @@
             },
             },
             "timer_x": {
             "timer_x": {
                 "name": "Pengatur waktu {x}"
                 "name": "Pengatur waktu {x}"
+            },
+            "volume": {
+                "name": "Volume"
             }
             }
         },
         },
         "select": {
         "select": {

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

@@ -441,6 +441,9 @@
             },
             },
             "timer_x": {
             "timer_x": {
                 "name": "Timer {x}"
                 "name": "Timer {x}"
+            },
+            "volume": {
+                "name": "Volume"
             }
             }
         },
         },
         "select": {
         "select": {

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

@@ -440,6 +440,9 @@
             },
             },
             "timer_x": {
             "timer_x": {
                 "name": "タイマー{x}"
                 "name": "タイマー{x}"
+            },
+            "volume": {
+                "name": "音量"
             }
             }
         },
         },
         "select": {
         "select": {

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

@@ -441,6 +441,9 @@
             },
             },
             "timer_x": {
             "timer_x": {
                 "name": "Timer {x}"
                 "name": "Timer {x}"
+            },
+            "volume": {
+                "name": "Volum"
             }
             }
         },
         },
         "select": {
         "select": {

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

@@ -440,6 +440,9 @@
             },
             },
             "timer_x": {
             "timer_x": {
                 "name": "Regulator czasowy {x}"
                 "name": "Regulator czasowy {x}"
+            },
+            "volume": {
+                "name": "Głośność"
             }
             }
         },
         },
         "select": {
         "select": {

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

@@ -440,6 +440,9 @@
             },
             },
             "timer_x": {
             "timer_x": {
                 "name": "Cronômetro {x}"
                 "name": "Cronômetro {x}"
+            },
+            "volume": {
+                "name": "Volume"
             }
             }
         },
         },
         "select": {
         "select": {

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

@@ -440,6 +440,9 @@
             },
             },
             "timer_x": {
             "timer_x": {
                 "name": "Cronômetro {x}"
                 "name": "Cronômetro {x}"
+            },
+            "volume": {
+                "name": "Volume"
             }
             }
         },
         },
         "select": {
         "select": {

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

@@ -440,6 +440,9 @@
             },
             },
             "timer_x": {
             "timer_x": {
                 "name": "Temporizator {x}"
                 "name": "Temporizator {x}"
+            },
+            "volume": {
+                "name": "Volum"
             }
             }
         },
         },
         "select": {
         "select": {

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

@@ -440,6 +440,9 @@
             },
             },
             "timer_x": {
             "timer_x": {
                 "name": "Таймер {x}"
                 "name": "Таймер {x}"
+            },
+            "volume": {
+                "name": "Громкость"
             }
             }
         },
         },
         "select": {
         "select": {

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

@@ -440,6 +440,9 @@
             },
             },
             "timer_x": {
             "timer_x": {
                 "name": "Timer {x}"
                 "name": "Timer {x}"
+            },
+            "volume": {
+                "name": "Volym"
             }
             }
         },
         },
         "select": {
         "select": {

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

@@ -441,6 +441,9 @@
             },
             },
             "timer_x": {
             "timer_x": {
                 "name": "Таймер {x}"
                 "name": "Таймер {x}"
+            },
+            "volume": {
+                "name": "Гучність"
             }
             }
         },
         },
         "select": {
         "select": {

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

@@ -442,6 +442,9 @@
             },
             },
             "timer_x": {
             "timer_x": {
                 "name": "ٹائمر {x}"
                 "name": "ٹائمر {x}"
+            },
+            "volume": {
+                "name": "آواز"
             }
             }
         },
         },
         "select": {
         "select": {

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

@@ -440,6 +440,9 @@
             },
             },
             "timer_x": {
             "timer_x": {
                 "name": "计时器{x}"
                 "name": "计时器{x}"
+            },
+            "volume": {
+                "name": "音量"
             }
             }
         },
         },
         "select": {
         "select": {

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

@@ -441,6 +441,9 @@
             },
             },
             "timer_x": {
             "timer_x": {
                 "name": "計時器{x}"
                 "name": "計時器{x}"
+            },
+            "volume": {
+                "name": "音量"
             }
             }
         },
         },
         "select": {
         "select": {