Parcourir la source

Add scene translations.

- some common scene names added
- icons added for the translated scenes
- text entity (disabled by default) added for hex and base64 scenes,
  where there is potential to customise.

Issue #1708
Jason Rumney il y a 1 an
Parent
commit
bf3b3d6908
46 fichiers modifiés avec 745 ajouts et 149 suppressions
  1. 13 14
      custom_components/tuya_local/devices/blitzwolf_bw_lt31.yaml
  2. 10 2
      custom_components/tuya_local/devices/brizlabs_string_lights.yaml
  3. 14 6
      custom_components/tuya_local/devices/calex_s45cleare27_light.yaml
  4. 10 2
      custom_components/tuya_local/devices/comon_lights.yaml
  5. 10 2
      custom_components/tuya_local/devices/depuley_smart_ceiling_fan.yaml
  6. 14 6
      custom_components/tuya_local/devices/enbrighten_curtainlights.yaml
  7. 16 7
      custom_components/tuya_local/devices/hdmi_ambient65_light.yaml
  8. 9 2
      custom_components/tuya_local/devices/hdmi_sync_light.yaml
  9. 13 6
      custom_components/tuya_local/devices/ih001_led_controller.yaml
  10. 9 2
      custom_components/tuya_local/devices/light_string.yaml
  11. 7 8
      custom_components/tuya_local/devices/loycco_sound_nightlight.yaml
  12. 16 8
      custom_components/tuya_local/devices/lsc_smart_ceiling_light.yaml
  13. 10 2
      custom_components/tuya_local/devices/lscsmartconnect_rgbcct_bulb.yaml
  14. 13 6
      custom_components/tuya_local/devices/lytmi_hdmisync_backlight.yaml
  15. 14 6
      custom_components/tuya_local/devices/marpou_ceiling_lamp_ledlight.yaml
  16. 14 6
      custom_components/tuya_local/devices/orison_chanfok_neo_fan_light.yaml
  17. 15 7
      custom_components/tuya_local/devices/rgb_led_strip.yaml
  18. 14 6
      custom_components/tuya_local/devices/rgb_nightlight_outlet.yaml
  19. 6 8
      custom_components/tuya_local/devices/rgbcw_lightbulb.yaml
  20. 10 2
      custom_components/tuya_local/devices/rgbcw_lightbulb_xld_cl002.yaml
  21. 14 6
      custom_components/tuya_local/devices/smart_led_strip.yaml
  22. 1 2
      custom_components/tuya_local/devices/space_dog_music_lamp.yaml
  23. 16 8
      custom_components/tuya_local/devices/techinc_smart_3m_neon_strip.yaml
  24. 5 10
      custom_components/tuya_local/devices/tv_backlights.yaml
  25. 7 8
      custom_components/tuya_local/devices/ustellar_ut99911_rgb.yaml
  26. 5 6
      custom_components/tuya_local/devices/zigbee_smart_bulb.yaml
  27. 22 0
      custom_components/tuya_local/icons.json
  28. 23 0
      custom_components/tuya_local/translations/bg.json
  29. 23 0
      custom_components/tuya_local/translations/cz.json
  30. 23 0
      custom_components/tuya_local/translations/de.json
  31. 23 0
      custom_components/tuya_local/translations/el.json
  32. 23 0
      custom_components/tuya_local/translations/en.json
  33. 23 0
      custom_components/tuya_local/translations/es.json
  34. 23 0
      custom_components/tuya_local/translations/fr.json
  35. 23 0
      custom_components/tuya_local/translations/hu.json
  36. 23 0
      custom_components/tuya_local/translations/id.json
  37. 23 0
      custom_components/tuya_local/translations/it.json
  38. 24 1
      custom_components/tuya_local/translations/ja.json
  39. 23 0
      custom_components/tuya_local/translations/no-NB.json
  40. 23 0
      custom_components/tuya_local/translations/pl.json
  41. 23 0
      custom_components/tuya_local/translations/pt-BR.json
  42. 23 0
      custom_components/tuya_local/translations/ru.json
  43. 23 0
      custom_components/tuya_local/translations/uk.json
  44. 23 0
      custom_components/tuya_local/translations/ur.json
  45. 23 0
      custom_components/tuya_local/translations/zh-Hans.json
  46. 23 0
      custom_components/tuya_local/translations/zh-Hant.json

+ 13 - 14
custom_components/tuya_local/devices/blitzwolf_bw_lt31.yaml

@@ -133,8 +133,7 @@ entities:
             value: "Adjoint"
             # color1 W, speed 50, bright 100
   - entity: select
-    name: Scene
-    icon: "mdi:palette"
+    translation_key: scene
     category: config
     dps:
       - id: 108
@@ -142,23 +141,23 @@ entities:
         name: option
         optional: true
         mapping:
-          - dps_val: "CJ_YD"
-            value: "Reading"
+          - dps_val: CJ_YD
+            value: reading
             # color: white, static
-          - dps_val: "CJ_QC"
-            value: "Get Up"
+          - dps_val: CJ_QC
+            value: morning
             # color: white, yellow, static
-          - dps_val: "CJ_WA"
-            value: "Good Night"
+          - dps_val: CJ_WA
+            value: night
             # color: red, static
-          - dps_val: "CJ_XK"
-            value: "Starry"
+          - dps_val: CJ_XK
+            value: twinkle
             # color: blue, flash
-          - dps_val: "CJ_JH"
-            value: "Party"
+          - dps_val: CJ_JH
+            value: party
             # color* All, Flash, Mid speed
-          - dps_val: "CJ_YS"
-            value: "Film"
+          - dps_val: CJ_YS
+            value: movie
             # color: lightblue, static
   - entity: number
     name: Strip points

+ 10 - 2
custom_components/tuya_local/devices/brizlabs_string_lights.yaml

@@ -35,9 +35,17 @@ entities:
             range:
               min: 0
               max: 1000
+  - entity: text
+    translation_key: scene
+    category: config
+    hidden: true
+    dps:
+      - id: 101
+        name: value
+        type: hex
+        optional: true
   - entity: select
-    name: Scene
-    icon: "mdi:palette"
+    translation_key: scene
     category: config
     dps:
       - id: 101

+ 14 - 6
custom_components/tuya_local/devices/calex_s45cleare27_light.yaml

@@ -70,9 +70,17 @@ entities:
           - scale: 60
             step: 60
         optional: true
+  - entity: text
+    translation_key: scene
+    category: config
+    hidden: true
+    dps:
+      - id: 25
+        name: value
+        type: hex
+        optional: true
   - entity: select
-    name: Scene
-    icon: "mdi:palette"
+    translation_key: scene
     category: config
     dps:
       - id: 25
@@ -82,13 +90,13 @@ entities:
         mapping:
           - dps_val: "000c0d0000000000000000c80000"
             # color: brown, static
-            value: Night
+            value: night
           - dps_val: "010e0d0000840000000003e801f4"
             # color: white, static
-            value: Read
+            value: reading
           - dps_val: "020e0d0000e80383000003e803e8"
             # color: lt cyan, static
-            value: Working
+            value: working
           - dps_val: "030e0d00001403e8000001f401f4"
             # color: grey, static
-            value: Leisure
+            value: leisure

+ 10 - 2
custom_components/tuya_local/devices/comon_lights.yaml

@@ -48,9 +48,17 @@ entities:
         name: scene
         type: string
         optional: true
+  - entity: text
+    translation_key: scene
+    category: config
+    hidden: true
+    dps:
+      - id: 102
+        name: value
+        type: hex
+        optional: true
   - entity: select
-    name: Scene
-    icon: "mdi:palette"
+    translation_key: scene
     category: config
     dps:
       - id: 102

+ 10 - 2
custom_components/tuya_local/devices/depuley_smart_ceiling_fan.yaml

@@ -74,9 +74,17 @@ entities:
         type: hex
         optional: true
 
+  - entity: text
+    translation_key: scene
+    category: config
+    hidden: true
+    dps:
+      - id: 25
+        name: value
+        type: hex
+        optional: true
   - entity: select
-    name: Scene
-    icon: "mdi:palette"
+    translation_key: scene
     category: config
     dps:
       - id: 25

+ 14 - 6
custom_components/tuya_local/devices/enbrighten_curtainlights.yaml

@@ -50,9 +50,17 @@ entities:
           - scale: 60
             step: 60
           - dps_val: null
+  - entity: text
+    translation_key: scene
+    category: config
+    hidden: true
+    dps:
+      - id: 56
+        name: value
+        type: base64
+        optional: true
   - entity: select
-    name: Scene
-    icon: "mdi:palette"
+    translation_key: scene
     category: config
     dps:
       - id: 56
@@ -61,7 +69,7 @@ entities:
         optional: true
         mapping:
           - dps_val: "AQAKMjIAAABkAABkAAAAAGQAeGQAAAAAZAA5BwAAAAA="
-            value: "Holiday"
+            value: vacation
           - dps_val: "AQEKMjIAAABkAABkAAAAAGQAOQcAAAAAZAEsZAAAAAA="
             value: "Valentine's Day"
           - dps_val: "AQIKMjIAAABkAAhkAAAAAGIBGFgAAAAAZAAPZAAAAAA="
@@ -91,17 +99,17 @@ entities:
             value: "Storm"
           - dps_val: "AQwKMjIAAABkAA9kAAAAAFIAvmQAAAAAYgAuZAAAAABiARhYAAAAA\
               F0AvmQAAAAAZAEfRQAAAAA="
-            value: "Gaming"
+            value: gaming
           - dps_val: "AQ0KMjIAAABkAPBkAAAAAGIBElUAAAAAYgEYWAAAAAA="
             value: "Space"
           - dps_val: "AQ4KMjIAAABkAABkAAAAAGIBGFgAAAAAZADwZAAAAAA="
-            value: "Dark"
+            value: night
           - dps_val: "AQ8KMjIAAABkAHhkAAAAAGIBElUAAAAAXwCIYwAAAABSAL5kAAAAA\
               F0AvmQAAAAAXwDYYQAAAAA="
             value: "Aquatic"
           - dps_val: "ARAKMjIAAABkAABkAAAAAGEAO2MAAAAAZAB4ZAAAAABfANhhAAAAA\
               GQA8GQAAAAAZAEsZAAAAAA="
-            value: "Party"
+            value: party
           - dps_val: "AREKMjIAAABkAABkAAAAAGQAD2QAAAAAYQA7YwAAAABkAHhkAAAAA\
               GQA8GQAAAAAYgESVQAAAABkAR9FAAAAAA=="
             value: "Rainbows"

+ 16 - 7
custom_components/tuya_local/devices/hdmi_ambient65_light.yaml

@@ -344,10 +344,19 @@ entities:
           - dps_val: "AAMAFAABVgEvA9gBTwHEA9QBUgKbA9ABXgJ3A9ABaALDA9AAAQPkA80="
             value: Combination Color 22
 
-  - entity: select
-    name: Dreamlight scene
+  - entity: text
+    translation_key: Scene
     icon: "mdi:palette"
     category: config
+    hidden: true
+    dps:
+      - id: 51
+        name: value
+        type: base64
+        optional: true
+  - entity: select
+    translation_key: scene
+    category: config
     dps:
       - id: 51
         type: string
@@ -395,13 +404,13 @@ entities:
           - dps_val: "AVAQMjIAAABkAOZHAGQ8ARlNALg5"
             value: Dream sea
           - dps_val: "AR8CX19gAABkARBkANJkAK1kAItk"
-            value: Game
+            value: gaming
           - dps_val: "ASAKVVVgAABkAMJYAT4zAP9GAR1k"
-            value: Holiday
+            value: vacation
           - dps_val: "ASEDPDxgAABkAL8YAQQX"
-            value: Work
+            value: working
           - dps_val: "ASIEZGRgAABkANdcALxTADceACw/AWE/"
-            value: Party
+            value: party
           - dps_val: "ASMCZGRgAABkAQhLALEvAM1X"
             value: Trend
           - dps_val: "ASQKS0tgAABkALwmANZVARhkAPlN"
@@ -409,7 +418,7 @@ entities:
           - dps_val: "ASUDQ0NgAABkALc1AJtUAM1h"
             value: Meditation
           - dps_val: "ASYBWVngAABkARlHAUk9AM1hACZk"
-            value: Dating
+            value: romantic
           - dps_val: "ASkCYWHgAABkAAtkANlkACtkAJFkALlk"
             value: Christmas
           - dps_val: "ASoBZGRgAABkARVkAQVkAUVkAS9k"

+ 9 - 2
custom_components/tuya_local/devices/hdmi_sync_light.yaml

@@ -44,9 +44,16 @@ entities:
             range:
               min: 0
               max: 1000
+  - entity: text
+    translation_key: scene
+    category: config
+    hidden: true
+    dps:
+      - id: 25
+        name: value
+        type: hex
   - entity: select
-    name: Scene
-    icon: "mdi:palette"
+    translation_key: scene
     category: config
     dps:
       - id: 25

+ 13 - 6
custom_components/tuya_local/devices/ih001_led_controller.yaml

@@ -51,9 +51,16 @@ entities:
       - id: 42
         type: hex
         name: unknown_42
+  - entity: text
+    translation_key: scene
+    category: config
+    hidden: true
+    dps:
+      - id: 25
+        name: value
+        type: hex
   - entity: select
-    name: Scene
-    icon: "mdi:pallete"
+    translation_key: scene
     category: config
     dps:
       - id: 25
@@ -62,16 +69,16 @@ entities:
         mapping:
           - dps_val: "000c0d0000000000000000c80000"
             # color: brown, static
-            value: Night
+            value: night
           - dps_val: "010e0d0000840000000003e801f4"
             # color: white, static
-            value: Read
+            value: reading
           - dps_val: "020e0d0000e80383000003e803e8"
             # color: lt cyan, static
-            value: Working
+            value: working
           - dps_val: "030e0d00001403e8000001f401f4"
             # color: grey, static
-            value: Leisure
+            value: leisure
           - dps_val: "04464602007803e803e800000000464602007803e8000a00000000"
             # color: G+DkG, Breath, Mid speed
             value: Soft

+ 9 - 2
custom_components/tuya_local/devices/light_string.yaml

@@ -38,9 +38,16 @@ entities:
             range:
               min: 0
               max: 1000
+  - entity: text
+    translation_key: scene
+    category: config
+    hidden: true
+    dps:
+      - id: 25
+        name: value
+        type: hex
   - entity: select
-    name: Scene
-    icon: "mdi:palette"
+    translation_key: scene
     category: config
     dps:
       - id: 25

+ 7 - 8
custom_components/tuya_local/devices/loycco_sound_nightlight.yaml

@@ -179,8 +179,7 @@ entities:
           - dps_val: ringtone_4
             value: Sleep
   - entity: select
-    name: Scene
-    icon: "mdi:palette"
+    translation_key: scene
     category: config
     dps:
       - id: 12
@@ -189,21 +188,21 @@ entities:
         optional: true
         mapping:
           - dps_val: wake_up
-            value: Wake up
+            value: morning
           - dps_val: help_sleep
             value: Help sleep
           - dps_val: breath
             value: Breathing
           - dps_val: colourful
-            value: Colourful
+            value: party
           - dps_val: play
-            value: Play
+            value: leisure
           - dps_val: reading
-            value: Reading
+            value: reading
           - dps_val: night
-            value: Nightlight
+            value: night
           - dps_val: null
-            value: None
+            value: none
             hidden: true
   - entity: select
     name: Custom scene

+ 16 - 8
custom_components/tuya_local/devices/lsc_smart_ceiling_light.yaml

@@ -73,9 +73,17 @@ entities:
           - dps_val: false
             value: "on"
 
+  - entity: text
+    translation_key: scene
+    category: config
+    hidden: true
+    dps:
+      - id: 56
+        name: value
+        type: base64
+        optional: true
   - entity: select
-    name: Scene
-    icon: "mdi:palette"
+    translation_key: scene
     category: config
     dps:
       - id: 56
@@ -124,21 +132,21 @@ entities:
           - dps_val: "AVAQMjIAAABkAOZHAGQ8ARlNALg5"
             value: Dream sea
           - dps_val: "AR8CX19gAABkARBkANJkAK1kAItk"
-            value: Game
+            value: gaming
           - dps_val: "ASAKVVVgAABkAMJYAT4zAP9GAR1k"
-            value: Holiday
+            value: vacation
           - dps_val: "ASEDPDxgAABkAL8YAQQX"
-            value: Work
+            value: working
           - dps_val: "ASIEZGRgAABkANdcALxTADceACw/AWE/"
-            value: Party
+            value: party
           - dps_val: "ASMCZGRgAABkAQhLALEvAM1X"
             value: Trend
           - dps_val: "ASQKS0tgAABkALwmANZVARhkAPlN"
             value: Sport
           - dps_val: "ASUDQ0NgAABkALc1AJtUAM1h"
-            value: Meditation
+            value: relax
           - dps_val: "ASYBWVngAABkARlHAUk9AM1hACZk"
-            value: Dating
+            value: romantic
           - dps_val: "ASkCYWHgAABkAAtkANlkACtkAJFkALlk"
             value: Christmas
           - dps_val: "ASoBZGRgAABkARVkAQVkAUVkAS9k"

+ 10 - 2
custom_components/tuya_local/devices/lscsmartconnect_rgbcct_bulb.yaml

@@ -59,9 +59,17 @@ entities:
               min: 0
               max: 255
 
+  - entity: text
+    translation_key: scene
+    category: config
+    hidden: true
+    dps:
+      - id: 6
+        name: value
+        type: hex
+        optional: true
   - entity: select
-    name: Scene
-    icon: "mdi:palette"
+    translation_key: scene
     category: config
     dps:
       - id: 6

+ 13 - 6
custom_components/tuya_local/devices/lytmi_hdmisync_backlight.yaml

@@ -92,9 +92,16 @@ entities:
         mapping:
           - scale: 10
             step: 10
+  - entity: text
+    translation_key: scene
+    category: config
+    hidden: true
+    dps:
+      - id: 25
+        name: value
+        type: hex
   - entity: select
-    name: Scene
-    icon: "mdi:palette"
+    translation_key: scene
     category: config
     dps:
       - id: 25
@@ -102,11 +109,11 @@ entities:
         name: option
         mapping:
           - dps_val: "80000000000000000000000000000000"
-            value: Sync - Video
+            value: movie
           - dps_val: "81000000000000000000000000000000"
-            value: Sync - Recreation
+            value: leisure
           - dps_val: "82000000000000000000000000000000"
-            value: Sync - Game
+            value: gaming
           - dps_val: "98000000000000000000000000000000"
             value: Music - Classic
           - dps_val: "99000000000000000000000000000000"
@@ -124,7 +131,7 @@ entities:
           - dps_val: "87000000000000000000000000000000"
             value: Scene - Fire
           - dps_val: "88000000000000000000000000000000"
-            value: Scene - Read
+            value: reading
           - dps_val: "89000000000000000000000000000000"
             value: Scene - Firework
           - dps_val: "90000000000000000000000000000000"

+ 14 - 6
custom_components/tuya_local/devices/marpou_ceiling_lamp_ledlight.yaml

@@ -100,9 +100,17 @@ entities:
           - scale: 60
             step: 60
           - dps_val: null
+  - entity: text
+    translation_key: scene
+    category: config
+    hidden: true
+    dps:
+      - id: 36
+        name: value
+        type: base64
+        optional: true
   - entity: select
-    name: Scene
-    icon: "mdi:palette"
+    translation_key: scene
     category: config
     dps:
       - id: 36
@@ -111,13 +119,13 @@ entities:
         optional: true
         mapping:
           - dps_val: "AAABAQIODQAAyAAAAAA="
-            value: Night
+            value: night
           - dps_val: "AAEBAQIODQAD6AH0AAA="
-            value: Read
+            value: reading
           - dps_val: "AAIBAQIODQAD6APoAAA="
-            value: Working
+            value: working
           - dps_val: "AAMBAQIODQAB9AH0AAA="
-            value: Casual
+            value: leisure
           - dps_val: "AAQAAAECA0ZGAgB4A+gD6EZGAgB4A+gACg=="
             value: Prairie
           - dps_val: "AAUAAAEGA0ZGAQAAA+gD6EZGAQB4A+gD6EZGAQDwA+gD6EZGAQA9A\

+ 14 - 6
custom_components/tuya_local/devices/orison_chanfok_neo_fan_light.yaml

@@ -128,10 +128,18 @@ entities:
       - id: 53
         type: boolean
         name: switch
+  - entity: text
+    translation_key: scene
+    category: config
+    hidden: true
+    dps:
+      - id: 36
+        name: value
+        type: base64
+        optional: true
   - entity: select
-    name: Scene
+    translation_key: scene
     category: config
-    icon: "mdi:palette"
     dps:
       - id: 36
         type: string
@@ -139,13 +147,13 @@ entities:
         optional: true
         mapping:
           - dps_val: "AAABAQIODQAAyAAAAAA="
-            value: Night
+            value: night
           - dps_val: "AAEBAQIODQAD6AH0AAA="
-            value: Reading
+            value: reading
           - dps_val: "AAIBAQIODQAD6APoAAA="
-            value: Work
+            value: working
           - dps_val: "AAMBAQIODQAB9AH0AAA="
-            value: Casual
+            value: leisure
           - dps_val: "AAQAAAECA0ZGAgB4A+gD6EZGAgB4A+gACg=="
             value: Prairie
           - dps_val: "AAUAAAEGA0ZGAQAAA+gD6EZGAQB4A+gD6EZGAQDwA+gD6EZGAQA9A+gD\

+ 15 - 7
custom_components/tuya_local/devices/rgb_led_strip.yaml

@@ -71,9 +71,17 @@ entities:
         mapping:
           - scale: 60
             step: 60
+  - entity: text
+    translation_key: scene
+    category: config
+    hidden: true
+    dps:
+      - id: 25
+        name: value
+        type: hex
+        optional: true
   - entity: select
-    name: Scene
-    icon: "mdi:palette"
+    translation_key: scene
     category: config
     dps:
       - id: 25
@@ -82,13 +90,13 @@ entities:
         optional: true
         mapping:
           - dps_val: "00303000002e03e802c600000000"
-            value: "Good Night"
+            value: "Good night"
           - dps_val: "013030000084000003e800000000"
-            value: "Reading"
+            value: reading
           - dps_val: "02303000001403e803e800000000"
-            value: "Working"
+            value: working
           - dps_val: "0330300000e8037a031600000000"
-            value: "Leisure"
+            value: leisure
           - dps_val: "04525202007803e803e800000000525202007803e8000a00000000"
             value: "Grassland"
           - dps_val: "05525201000003e803e800000000525201007803e803e800000000\
@@ -103,7 +111,7 @@ entities:
               520200ae03e803e800000000525202011303e803e800000000"
             value: "Gorgeous"
           - dps_val: "08282800001e0320012c00000000"
-            value: "Night Light"
+            value: night
           - dps_val: "1452520200ae03e803e80000000052520200b4012c03e8000000005\
               2520200b4003203e800000000"
             value: "Blue Sky"

+ 14 - 6
custom_components/tuya_local/devices/rgb_nightlight_outlet.yaml

@@ -91,9 +91,17 @@ entities:
         class: measurement
         mapping:
           - scale: 10
+  - entity: text
+    translation_key: scene
+    category: config
+    hidden: true
+    dps:
+      - id: 25
+        name: value
+        type: hex
+        optional: true
   - entity: select
-    name: Scene
-    icon: "mdi:palette"
+    translation_key: scene
     category: config
     dps:
       - id: 25
@@ -102,16 +110,16 @@ entities:
         optional: true
         mapping:
           - dps_val: "000c0d0000000000000000c80000"
-            value: Night
+            value: night
           - dps_val: "010e0d0000840000000003e801f4"
             # color: white, static
-            value: Read
+            value: reading
           - dps_val: "020e0d0000e80383000003e803e8"
             # color: lt cyan, static
-            value: Working
+            value: working
           - dps_val: "030e0d00001403e8000001f401f4"
             # color: grey, static
-            value: Leisure
+            value: leisure
           - dps_val: "04464602007803e803e800000000464602007803e8000a00000000"
             # color: G+DkG, Breath, Mid speed
             value: Soft

+ 6 - 8
custom_components/tuya_local/devices/rgbcw_lightbulb.yaml

@@ -116,8 +116,7 @@ entities:
             step: 60
           - dps_val: null
   - entity: text
-    name: Scene
-    icon: "mdi:palette"
+    translation_key: scene
     category: config
     hidden: true
     dps:
@@ -126,8 +125,7 @@ entities:
         type: hex
         optional: true
   - entity: select
-    name: Scene
-    icon: "mdi:palette"
+    translation_key: scene
     category: config
     dps:
       - id: 25
@@ -137,16 +135,16 @@ entities:
         mapping:
           - dps_val: "000c0d0000000000000000c80000"
             # color: brown, static
-            value: Night
+            value: night
           - dps_val: "010e0d0000840000000003e801f4"
             # color: white, static
-            value: Read
+            value: reading
           - dps_val: "020e0d0000e80383000003e803e8"
             # color: lt cyan, static
-            value: Working
+            value: working
           - dps_val: "030e0d00001403e8000001f401f4"
             # color: grey, static
-            value: Leisure
+            value: leisure
           - dps_val: "04464602007803e803e800000000464602007803e8000a00000000"
             # color: G+DkG, Breath, Mid speed
             value: Soft

+ 10 - 2
custom_components/tuya_local/devices/rgbcw_lightbulb_xld_cl002.yaml

@@ -103,9 +103,17 @@ entities:
           - scale: 60
             step: 60
           - dps_val: null
+  - entity: text
+    name: scene
+    category: config
+    hidden: true
+    dps:
+      - id: 51
+        name: value
+        type: base64
+        optional: true
   - entity: select
-    name: Scene
-    icon: "mdi:palette"
+    name: scene
     category: config
     dps:
       - id: 51

+ 14 - 6
custom_components/tuya_local/devices/smart_led_strip.yaml

@@ -79,9 +79,17 @@ entities:
           - scale: 60
             step: 60
           - dps_val: null
+  - entity: text
+    translation_key: scene
+    category: config
+    hidden: true
+    dps:
+      - id: 25
+        name: value
+        type: hex
+        optional: true
   - entity: select
-    name: Scene
-    icon: "mdi:palette"
+    translation_key: scene
     category: config
     dps:
       - id: 25
@@ -92,11 +100,11 @@ entities:
           - dps_val: "000e0d0000000000000000c80000"
             value: "Good Night"
           - dps_val: "010e0d0000000000000003e801f4"
-            value: "Reading"
+            value: reading
           - dps_val: "020e0d0000000000000003e803e8"
-            value: "Working"
+            value: working
           - dps_val: "030e0d0000000000000001f401f4"
-            value: "Leisure"
+            value: leisure
           - dps_val: "04464602007803e803e800000000464602007803e8000a00000000"
             value: "Grassland"
           - dps_val: "05464601000003e803e800000000464601007803e803e800000000\
@@ -115,7 +123,7 @@ entities:
           - dps_val: "2a23230100000000000003e800d223230100000000000000c800d2"
             value: "Dynamic"
           - dps_val: "08000000001e0320012c00000000"
-            value: "Night Light"
+            value: night
           - dps_val: "1446460200ae03e803e80000000046460200b4012c03e800000000\
               46460200b4003203e800000000"
             value: "Blue Sky"

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

@@ -71,9 +71,8 @@ entities:
               # - id: 117
 
   - entity: select
-    name: Scene
+    translation_key: scene
     category: config
-    icon: "mdi:palette"
     dps:
       # 场景 (scenes)
       # values: see below

+ 16 - 8
custom_components/tuya_local/devices/techinc_smart_3m_neon_strip.yaml

@@ -66,9 +66,17 @@ entities:
           - scale: 60
             step: 60
           - dps_val: null
+  - entity: text
+    translation_key: scene
+    category: config
+    hidden: true
+    dps:
+      - id: 51
+        name: value
+        type: base64
+        optional: true
   - entity: select
-    name: Scene
-    icon: "mdi:palette"
+    translation_key: scene
     category: config
     dps:
       - id: 51
@@ -117,21 +125,21 @@ entities:
           - dps_val: "AVAQMjIAAABkAOZHAGQ8ARlNALg5"
             value: "Dream Sea"
           - dps_val: "AR8CX19gAABkARBkANJkAK1kAItk"
-            value: "Gamne"
+            value: gaming
           - dps_val: "ASAKVVVgAABkAMJYAT4zAP9GAR1k"
-            value: "Holiday"
+            value: vacation
           - dps_val: "ASEDPDxgAABkAL8YAQQX"
-            value: "Work"
+            value: working
           - dps_val: "ASIEZGRgAABkANdcALxTADceACw/AWE/"
-            value: "Party"
+            value: party
           - dps_val: "ASMCZGRgAABkAQhLALEvAM1X"
             value: "Trend"
           - dps_val: "ASQKS0tgAABkALwmANZVARhkAPlN"
             value: "Sports"
           - dps_val: "ASUDQ0NgAABkALc1AJtUAM1h"
-            value: "Meditation"
+            value: relax
           - dps_val: "ASYBWVngAABkARlHAUk9AM1hACZk"
-            value: "Dating"
+            value: romantic
           - dps_val: "ASkCYWHgAABkAAtkANlkACtkAJFkALlk"
             value: "Christmas"
           - dps_val: "ASoBZGRgAABkARVkAQVkAUVkAS9k"

+ 5 - 10
custom_components/tuya_local/devices/tv_backlights.yaml

@@ -77,28 +77,23 @@ entities:
           min: 1
           max: 3
   - entity: select
-    icon: mdi:shimmer
-    name: Scene select
+    translation_key: scene
     dps:
       - id: 113
         name: option
         type: integer
         mapping:
           - dps_val: 1
-            icon: mdi:book-open-page-variant
-            value: Read
+            value: reading
           - dps_val: 2
-            icon: mdi:weather-sunny
-            value: Get up
+            value: morning
           - dps_val: 3
-            icon: mdi:weather-night
-            value: Good night
+            value: night
           - dps_val: 4
             icon: mdi:image-filter-drama-outline
             value: Sky
           - dps_val: 5
-            icon: mdi:clover
-            value: Romantic
+            value: romantic
           - dps_val: 6
             icon: mdi:palette
             value: Colorful

+ 7 - 8
custom_components/tuya_local/devices/ustellar_ut99911_rgb.yaml

@@ -144,8 +144,7 @@ entities:
           - dps_val: "0932640000000003e8"
             value: "Adjoint"
   - entity: select
-    name: Scene
-    icon: "mdi:palette"
+    translation_key: scene
     category: config
     dps:
       - id: 108
@@ -154,17 +153,17 @@ entities:
         optional: true
         mapping:
           - dps_val: "CJ_YD"
-            value: "Read"
+            value: reading
           - dps_val: "CJ_QC"
-            value: "Get Up"
+            value: morning
           - dps_val: "CJ_WA"
-            value: "Night"
+            value: night
           - dps_val: "CJ_XK"
-            value: "Starry"
+            value: twinkle
           - dps_val: "CJ_JH"
-            value: "Party"
+            value: party
           - dps_val: "CJ_YS"
-            value: "Film"
+            value: movie
   - entity: number
     name: Strip Points
     category: config

+ 5 - 6
custom_components/tuya_local/devices/zigbee_smart_bulb.yaml

@@ -73,8 +73,7 @@ entities:
               min: 0
               max: 1000
   - entity: select
-    name: Scene
-    icon: "mdi:palette"
+    translation_key: scene
     category: config
     dps:
       - id: 6
@@ -83,13 +82,13 @@ entities:
         optional: true
         mapping:
           - dps_val: 00282800012e0081015c00000000
-            value: Night
+            value: night
           - dps_val: 010e0d0000000000000003e801f4
-            value: Read
+            value: reading
           - dps_val: 020e0d0000000000000003e803e8
-            value: Working
+            value: working
           - dps_val: 030e0d0000000000000001f401f4
-            value: Leisure
+            value: leisure
           - dps_val: 04464602007803e803e800000000464602007803e8000a00000000
             value: Soft
           - dps_val: "05464601000003e803e800000000464601007803e803e800000000\

+ 22 - 0
custom_components/tuya_local/icons.json

@@ -167,6 +167,23 @@
                     "preheat": "mdi:fire"
                 }
             },
+            "scene": {
+                "default": "mdi:palette",
+                "state": {
+                    "relax": "mdi:meditation",
+                    "movie": "mdi:filmstrip",
+                    "party": "mdi:party-popper",
+                    "romantic": "mdi:heart",
+                    "night": "mdi:weather-night",
+                    "morning": "mdi:weather-sunny",
+                    "working": "mdi:briefcase",
+                    "leisure": "mdi:airballoon",
+                    "vacation": "mdi:beach",
+                    "reading": "mdi:book-open",
+                    "twinkle": "mdi:shimmer",
+                    "gaming": "mdi:gamepad-variant"
+                }
+            },
             "timer": {
                 "default": "mdi:timer"
             },
@@ -292,6 +309,11 @@
             "electrolytic_sterilization": {
                 "default": "mdi:flash"
             }
+        },
+        "text": {
+            "scene": {
+                "default": "mdi:palette"
+            }
         }
     }
 }

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

@@ -446,6 +446,24 @@
                     "preheat": "Предварително загряване"
                 }
             },
+            "scene": {
+                "name": "Сцена",
+                "state": {
+                    "relax": "Релаксирайте",
+                    "movie": "Филм",
+                    "party": "Парти",
+                    "romantic": "Романтично",
+                    "night": "Нощ",
+                    "morning": "Сутрин",
+                    "working": "Работа",
+                    "leisure": "Свободно време",
+                    "vacation": "Ваканция",
+                    "reading": "Четене",
+                    "twinkle": "Мигащо",
+                    "gaming": "Игри",
+                    "none": "Няма"
+                }
+            },
             "timer": {
                 "name": "Таймер",
                 "state": {
@@ -689,6 +707,11 @@
             "uv_sterilization": {
                 "name": "UV стерилизация"
             }
+        },
+        "text": {
+            "scene": {
+                "name": "Сцена"
+            }
         }
     }
 }

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

@@ -446,6 +446,24 @@
                     "preheat": "Předehřátí"
                 }
             },
+            "scene": {
+                "name": "Scéna",
+                "state": {
+                    "relax": "Relax",
+                    "movie": "Film",
+                    "party": "Večírek",
+                    "romantic": "Romantický",
+                    "night": "Noc",
+                    "morning": "Ráno",
+                    "working": "Práce",
+                    "leisure": "Volný čas",
+                    "vacation": "Dovolená",
+                    "reading": "Čtení",
+                    "twinkle": "Blikání",
+                    "gaming": "Hraní her",
+                     "none": "Žádný"
+                }
+            },
             "timer": {
                 "name": "Časovač",
                 "state": {
@@ -688,6 +706,11 @@
             "uv_sterilization": {
                 "name": "UV sterilizace"
             }
+        },
+        "text": {
+            "scene": {
+                "name": "Scéna"
+            }
         }
     }
 }

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

@@ -445,6 +445,24 @@
                     "preheat": "Vorheizen"
                 }
             },
+            "scene": {
+                "name": "Szene",
+                "state": {
+                    "relax": "Entspannen",
+                    "movie": "Film",
+                    "party": "Party",
+                    "romantic": "Romantisch",
+                    "night": "Nacht",
+                    "morning": "Morgen",
+                    "working": "Arbeiten",
+                    "leisure": "Freizeit",
+                    "vacation": "Urlaub",
+                    "reading": "Lesen",
+                    "twinkle": "Blinken",
+                    "gaming": "Spielen",
+                    "none": "Keine Szene"
+                }
+            },
             "timer": {
                 "name": "Timer",
                 "state": {
@@ -688,6 +706,11 @@
             "uv_sterilization": {
                 "name": "UV Sterilization"
             }
+        },
+        "text": {
+            "scene": {
+                "name": "Szene"
+            }
         }
     }
 }

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

@@ -446,6 +446,24 @@
                     "preheat": "Προθέρμανση"
                 }
             },
+            "scene": {
+                "name": "Σκηνή",
+                "state": {
+                    "relax": "Χαλάρωση",
+                    "movie": "Ταινία",
+                    "party": "Πάρτι",
+                    "romantic": "Ρομαντικό",
+                    "night": "Νύχτα",
+                    "morning": "Πρωί",
+                    "working": "Εργασία",
+                    "leisure": "Αναψυχή",
+                    "vacation": "Διακοπές",
+                    "reading": "Ανάγνωση",
+                    "twinkle": "Λάμψη",
+                    "gaming": "Παιχνίδι",
+                    "none": "Καμία"
+                }
+            },
             "timer": {
                 "name": "Χρονοδιακόπτης",
                 "state": {
@@ -688,6 +706,11 @@
             "uv_sterilization": {
                 "name": "Αποστείρωση UV"
             }
+        },
+        "text": {
+            "scene": {
+                "name": "Σκηνή"
+            }
         }
     }
 }

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

@@ -446,6 +446,24 @@
                     "preheat": "Preheat"
                 }
             },
+            "scene": {
+                "name": "Scene",
+                "state": {
+                    "relax": "Relax",
+                    "movie": "Movie",
+                    "party": "Party",
+                    "romantic": "Romantic",
+                    "night": "Night",
+                    "morning": "Morning",
+                    "working": "Working",
+                    "leisure": "Leisure",
+                    "vacation": "Vacation",
+                    "reading": "Reading",
+                    "twinkle": "Twinkle",
+                    "gaming": "Gaming",
+                    "none": "None"
+                }
+            },
             "timer": {
                 "name": "Timer",
                 "state": {
@@ -688,6 +706,11 @@
             "electrolytic_sterilization": {
                 "name": "Electrolytic sterilization"
             }
+        },
+        "text": {
+            "scene": {
+                "name": "Scene"
+            }
         }
     }
 }

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

@@ -446,6 +446,24 @@
                     "preheat": "Precalentar"
                 }
             },
+            "scene": {
+                "name": "Escena",
+                "state": {
+                    "relax": "Relajarse",
+                    "movie": "Película",
+                    "party": "Fiesta",
+                    "romantic": "Romántico",
+                    "night": "Noche",
+                    "morning": "Mañana",
+                    "working": "Trabajando",
+                    "leisure": "Ocio",
+                    "vacation": "Vacaciones",
+                    "reading": "Leyendo",
+                    "twinkle": "Destello",
+                    "gaming": "Juegos",
+                    "none": "Ninguno"
+                }
+            },
             "timer": {
                 "name": "Temporizador",
                 "state": {
@@ -688,6 +706,11 @@
             "uv_sterilization": {
                 "name": "Esterilización UV"
             }
+        },
+        "text": {
+            "scene": {
+                "name": "Escena"
+            }
         }
     }
 }

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

@@ -446,6 +446,24 @@
                     "preheat": "Préchauffer"
                 }
             },
+            "scene": {
+                "name": "Scène",
+                "state": {
+                    "relax": "Détente",
+                    "movie": "Film",
+                    "party": "Fête",
+                    "romantic": "Romantique",
+                    "night": "Nuit",
+                    "morning": "Matin",
+                    "working": "Travail",
+                    "leisure": "Loisir",
+                    "vacation": "Vacances",
+                    "reading": "Lecture",
+                    "twinkle": "Scintillement",
+                    "gaming": "Jeu",
+                    "none": "Aucun"
+                }
+            },
             "timer": {
                 "name": "Minuteur",
                 "state": {
@@ -688,6 +706,11 @@
             "uv_sterilization": {
                 "name": "Stérilisation UV"
             }
+        },
+        "text": {
+            "scene": {
+                "name": "Scène"
+            }
         }
     }
 }

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

@@ -447,6 +447,24 @@
                     "preheat": "Előmelegítés"
                 }
             },
+            "scene": {
+                "name": "Jelenet",
+                "state": {
+                    "relax": "Pihenés",
+                    "movie": "Film",
+                    "party": "Buli",
+                    "romantic": "Romantikus",
+                    "night": "Éjszaka",
+                    "morning": "Reggel",
+                    "working": "Munka",
+                    "leisure": "Szabadidő",
+                    "vacation": "Szabadság",
+                    "reading": "Olvasás",
+                    "twinkle": "Csillogás",
+                    "gaming": "Játék",
+                    "none": "Nincs"
+                }
+            },
             "timer": {
                 "name": "Időzítő",
                 "state": {
@@ -689,6 +707,11 @@
             "uv_sterilization": {
                 "name": "UV sterilizálás"
             }
+        },
+        "text": {
+            "scene": {
+                "name": "Jelenet"
+            }
         }
     }
 }

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

@@ -446,6 +446,24 @@
                     "preheat": "Pemanasan awal"
                 }
             },
+            "scene": {
+                "name": "Adegan",
+                "state": {
+                    "relax": "Rileks",
+                    "movie": "Film",
+                    "party": "Pesta",
+                    "romantic": "Romantis",
+                    "night": "Malam",
+                    "morning": "Pagi",
+                    "working": "Bekerja",
+                    "leisure": "Santai",
+                    "vacation": "Liburan",
+                    "reading": "Membaca",
+                    "twinkle": "Berkedip",
+                    "gaming": "Bermain game",
+                    "none": "Tidak ada"
+                }
+            },
             "timer": {
                 "name": "Pengatur waktu",
                 "state": {
@@ -688,6 +706,11 @@
             "uv_sterilization": {
                 "name": "Sterilisasi UV"
             }
+        },
+        "text": {
+            "scene": {
+                "name": "Adegan"
+            }
         }
     }
 }

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

@@ -447,6 +447,24 @@
                     "preheat": "Preriscaldare"
                 }
             },
+            "scene": {
+                "name": "Scena",
+                "state": {
+                    "relax": "Rilassati",
+                    "movie": "Film",
+                    "party": "Festa",
+                    "romantic": "Romantico",
+                    "night": "Notte",
+                    "morning": "Mattina",
+                    "working": "Lavoro",
+                    "leisure": "Tempo libero",
+                    "vacation": "Vacanza",
+                    "reading": "Lettura",
+                    "twinkle": "Luccichio",
+                    "gaming": "Gaming",
+                    "none": "Nessuno"
+                }
+            },
             "timer": {
                 "name": "Timer",
                 "state": {
@@ -689,6 +707,11 @@
             "uv_sterilization": {
                 "name": "Sterilizzazione UV"
             }
+        },
+        "text": {
+            "scene": {
+                "name": "Scena"
+            }
         }
     }
 }

+ 24 - 1
custom_components/tuya_local/translations/ja.json

@@ -446,6 +446,24 @@
                     "preheat": "予熱"
                 }
             },
+            "scene": {
+                "name": "シーン",
+                "state": {
+                    "relax": "リラックス",
+                    "movie": "映画",
+                    "party": "パーティ",
+                    "romantic": "ロマンチック",
+                    "night": "夜",
+                    "morning": "朝",
+                    "working": "作業",
+                    "leisure": "レジャー",
+                    "vacation": "休暇",
+                    "reading": "読書",
+                    "twinkle": "きらめき",
+                    "gaming": "ゲーム",
+                    "none": "なし"
+                }
+            },
             "timer": {
                 "name": "タイマー",
                 "state": {
@@ -631,7 +649,7 @@
             "water_level": {
                 "name": "水位",
                 "state": {
-                    "emtpy": "空",
+                    "empty": "空",
                     "medium": "中",
                     "low": "低い",
                     "high": "高い",
@@ -688,6 +706,11 @@
             "uv_sterilization": {
                 "name": "紫外線殺菌"
             }
+        },
+        "text": {
+            "scene": {
+                "name": "シーン"
+            }
         }
     }
 }

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

@@ -447,6 +447,24 @@
                     "preheat": "Forvarm"
                 }
             },
+            "scene": {
+                "name": "Scene",
+                "state": {
+                    "relax": "Slapp av",
+                    "movie": "Film",
+                    "party": "Fest",
+                    "romantic": "Romantisk",
+                    "night": "Natt",
+                    "morning": "Morgen",
+                    "working": "Arbeid",
+                    "leisure": "Fritid",
+                    "vacation": "Ferie",
+                    "reading": "Lesing",
+                    "twinkle": "Blink",
+                    "gaming": "Spill",
+                    "none": "Ingen"
+                }
+            },
             "timer": {
                 "name": "Timer",
                 "state": {
@@ -689,6 +707,11 @@
             "uv_sterilization": {
                 "name": "UV-sterilisering"
             }
+        },
+        "text": {
+            "scene": {
+                "name": "Scene"
+            }
         }
     }
 }

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

@@ -446,6 +446,24 @@
                     "preheat": "Rozgrzewanie"
                 }
             },
+            "scene": {
+                "name": "Scena",
+                "state": {
+                    "relax": "Relaks",
+                    "movie": "Film",
+                    "party": "Impreza",
+                    "romantic": "Romantyczny",
+                    "night": "Noc",
+                    "morning": "Ranek",
+                    "working": "Praca",
+                    "leisure": "Wolny czas",
+                    "vacation": "Wakacje",
+                    "reading": "Czytanie",
+                    "twinkle": "Migotanie",
+                    "gaming": "Gry",
+                    "none": "Brak"
+                }
+            },
             "timer": {
                 "name": "Regulator czasowy",
                 "state": {
@@ -689,6 +707,11 @@
             "uv_sterilization": {
                 "name": "Sterylizacja UV"
             }
+        },
+        "text": {
+            "scene": {
+                "name": "Scena"
+            }
         }
     }
 }

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

@@ -446,6 +446,24 @@
                     "preheat": "Pré-aquecer"
                 }
             },
+            "scene": {
+                "name": "Cena",
+                "state": {
+                    "relax": "Relaxar",
+                    "movie": "Filme",
+                    "party": "Festa",
+                    "romantic": "Romântico",
+                    "night": "Noite",
+                    "morning": "Manhã",
+                    "working": "Trabalhando",
+                    "leisure": "Lazer",
+                    "vacation": "Férias",
+                    "reading": "Lendo",
+                    "twinkle": "Cintilar",
+                    "gaming": "Jogando",
+                    "none": "Nenhum"
+                }
+            },
             "timer": {
                 "name": "Cronômetro",
                 "state": {
@@ -688,6 +706,11 @@
             "uv_sterilization": {
                 "name": "Esterilização UV"
             }
+        },
+        "text": {
+            "scene": {
+                "name": "Cena"
+            }
         }
     }
 }

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

@@ -446,6 +446,24 @@
                     "preheat": "Предварительный нагрев"
                 }
             },
+            "scene": {
+                "name": "Сцена",
+                "state": {
+                    "relax": "Отдых",
+                    "movie": "Кино",
+                    "party": "Вечеринка",
+                    "romantic": "Романтика",
+                    "night": "Ночь",
+                    "morning": "Утро",
+                    "working": "Работа",
+                    "leisure": "Досуг",
+                    "vacation": "Отпуск",
+                    "reading": "Чтение",
+                    "twinkle": "Мерцание",
+                    "gaming": "Игры",
+                    "none": "Нет"
+                }
+            },
             "timer": {
                 "name": "Таймер",
                 "state": {
@@ -688,6 +706,11 @@
             "uv_sterilization": {
                 "name": "УФ-стерилизация"
             }
+        },
+        "text": {
+            "scene": {
+                "name": "Сцена"
+            }
         }
     }
 }

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

@@ -449,6 +449,24 @@
                     "preheat": "Попередній нагрів"
                 }
             },
+            "scene": {
+                "name": "Сцена",
+                "state": {
+                    "relax": "Релакс",
+                    "movie": "Фільм",
+                    "party": "Вечірка",
+                    "romantic": "Романтика",
+                    "night": "Ніч",
+                    "morning": "Ранок",
+                    "working": "Робота",
+                    "leisure": "Дозвілля",
+                    "vacation": "Відпустка",
+                    "reading": "Читання",
+                    "twinkle": "Мерехтіння",
+                    "gaming": "Ігри",
+                    "none": "Нічого"
+                }
+            },
             "timer": {
                 "name": "Таймер",
                 "state": {
@@ -691,6 +709,11 @@
             "uv_sterilization": {
                 "name": "УФ стерилізація"
             }
+        },
+        "text": {
+            "scene": {
+                "name": "Сцена"
+            }
         }
     }
 }

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

@@ -449,6 +449,24 @@
                     "preheat": "پری ہیٹ"
                 }
             },
+            "scene": {
+                "name": "منظر",
+                "state": {
+                    "relax": "آرام",
+                    "movie": "فلم",
+                    "party": "پارٹی",
+                    "romantic": "رومانٹک",
+                    "night": "رات",
+                    "morning": "صبح",
+                    "working": "کام",
+                    "leisure": "فراغت",
+                    "vacation": "چھٹی",
+                    "reading": "پڑھائی",
+                    "twinkle": "چمک",
+                    "gaming": "گیمنگ",
+                    "none": "کوئی نہیں"
+                }
+            },
             "timer": {
                 "name": "ٹائمر",
                 "state": {
@@ -691,6 +709,11 @@
             "uv_sterilization": {
                 "name": "UV نس بندی"
             }
+        },
+        "text": {
+            "scene": {
+                "name": "منظر"
+            }
         }
     }
 }

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

@@ -446,6 +446,24 @@
                     "preheat": "预热"
                 }
             },
+            "scene": {
+                "name": "场景",
+                "state": {
+                    "relax": "放松",
+                    "movie": "电影",
+                    "party": "派对",
+                    "romantic": "浪漫",
+                    "night": "夜晚",
+                    "morning": "早晨",
+                    "working": "工作",
+                    "leisure": "休闲",
+                    "vacation": "度假",
+                    "reading": "阅读",
+                    "twinkle": "闪烁",
+                    "gaming": "游戏",
+                    "none": "无"
+                }
+            },
             "timer": {
                 "name": "计时器",
                 "state": {
@@ -688,6 +706,11 @@
             "electrolytic_sterilization": {
                 "name": "电解消毒"
             }
+        },
+        "text": {
+            "scene": {
+                "name": "场景"
+            }
         }
     }
 }

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

@@ -447,6 +447,24 @@
                     "preheat": "預熱"
                 }
             },
+            "scene": {
+                "name": "場景",
+                "state": {
+                    "relax": "放鬆",
+                    "movie": "電影",
+                    "party": "派對",
+                    "romantic": "浪漫",
+                    "night": "夜晚",
+                    "morning": "早晨",
+                    "working": "工作",
+                    "leisure": "休閒",
+                    "vacation": "度假",
+                    "reading": "閱讀",
+                    "twinkle": "閃爍",
+                    "gaming": "遊戲",
+                    "none": "無"
+                }
+            },
             "timer": {
                 "name": "計時器",
                 "state": {
@@ -689,6 +707,11 @@
             "electrolytic_sterilization": {
                 "name": "電解消毒"
             }
+        },
+        "text": {
+            "scene": {
+                "name": "場景"
+            }
         }
     }
 }