Преглед изворни кода

translations: add recording_mode select translation

replaces select "Recording mode" and "Record mode" with translated version.

Standardized options to event, and continuous, most were that
already, but some used longer versions.

Issue #1708
Jason Rumney пре 1 месец
родитељ
комит
4a91099647
52 измењених фајлова са 250 додато и 111 уклоњено
  1. 1 0
      custom_components/tuya_local/__init__.py
  2. 3 4
      custom_components/tuya_local/devices/arlec_pfc002ha_petfeeder_camera.yaml
  3. 3 4
      custom_components/tuya_local/devices/bcom_intercom_camera.yaml
  4. 3 4
      custom_components/tuya_local/devices/camnsmart_e27_camera.yaml
  5. 3 4
      custom_components/tuya_local/devices/ceres_plus_petfeeder.yaml
  6. 3 4
      custom_components/tuya_local/devices/door_peephole_camera.yaml
  7. 3 4
      custom_components/tuya_local/devices/emos_ip300_camera.yaml
  8. 3 4
      custom_components/tuya_local/devices/feelneedy_plfp01_petfeeder.yaml
  9. 3 4
      custom_components/tuya_local/devices/frienhund_acf180wa_dualfeeder.yaml
  10. 3 4
      custom_components/tuya_local/devices/garage_door_camera.yaml
  11. 3 4
      custom_components/tuya_local/devices/homemate_ptzcamera.yaml
  12. 3 4
      custom_components/tuya_local/devices/huntertbk_hf6602t_doorbell.yaml
  13. 3 4
      custom_components/tuya_local/devices/kerui_200w_camera.yaml
  14. 3 4
      custom_components/tuya_local/devices/kerui_300w_camera.yaml
  15. 3 4
      custom_components/tuya_local/devices/lsc_ptz_camera.yaml
  16. 3 4
      custom_components/tuya_local/devices/lscsmartconnect_camerapetfeeder.yaml
  17. 3 4
      custom_components/tuya_local/devices/lscsmartconnect_outdoorcamera.yaml
  18. 3 4
      custom_components/tuya_local/devices/lscsmartconnect_outdoorptzcamera.yaml
  19. 3 4
      custom_components/tuya_local/devices/moes_indoorptz_camera.yaml
  20. 3 4
      custom_components/tuya_local/devices/moes_wcmp52_camera.yaml
  21. 3 4
      custom_components/tuya_local/devices/mypin_6l_videopetfeeder.yaml
  22. 3 7
      custom_components/tuya_local/devices/nedis_outdoor_camera.yaml
  23. 3 4
      custom_components/tuya_local/devices/nexsmart_watch2_camera.yaml
  24. 3 4
      custom_components/tuya_local/devices/ningbo_bf314a_petfeeder.yaml
  25. 3 4
      custom_components/tuya_local/devices/petlibro_camera_feeder.yaml
  26. 3 4
      custom_components/tuya_local/devices/sc116wz3a_camera.yaml
  27. 3 4
      custom_components/tuya_local/devices/smcm_doorbellpro_camera.yaml
  28. 3 4
      custom_components/tuya_local/devices/yakry_camera_petfeeder.yaml
  29. 7 0
      custom_components/tuya_local/icons.json
  30. 7 0
      custom_components/tuya_local/translations/bg.json
  31. 7 0
      custom_components/tuya_local/translations/ca.json
  32. 7 0
      custom_components/tuya_local/translations/cz.json
  33. 7 0
      custom_components/tuya_local/translations/de.json
  34. 7 0
      custom_components/tuya_local/translations/el.json
  35. 7 0
      custom_components/tuya_local/translations/en.json
  36. 7 0
      custom_components/tuya_local/translations/es.json
  37. 7 0
      custom_components/tuya_local/translations/fr.json
  38. 7 0
      custom_components/tuya_local/translations/hu.json
  39. 7 0
      custom_components/tuya_local/translations/id.json
  40. 7 0
      custom_components/tuya_local/translations/it.json
  41. 7 0
      custom_components/tuya_local/translations/ja.json
  42. 7 0
      custom_components/tuya_local/translations/no-NB.json
  43. 7 0
      custom_components/tuya_local/translations/pl.json
  44. 7 0
      custom_components/tuya_local/translations/pt-BR.json
  45. 7 0
      custom_components/tuya_local/translations/pt-PT.json
  46. 7 0
      custom_components/tuya_local/translations/ro.json
  47. 7 0
      custom_components/tuya_local/translations/ru.json
  48. 7 0
      custom_components/tuya_local/translations/sv.json
  49. 7 0
      custom_components/tuya_local/translations/uk.json
  50. 7 0
      custom_components/tuya_local/translations/ur.json
  51. 7 0
      custom_components/tuya_local/translations/zh-Hans.json
  52. 7 0
      custom_components/tuya_local/translations/zh-Hant.json

+ 1 - 0
custom_components/tuya_local/__init__.py

@@ -952,6 +952,7 @@ async def async_migrate_entry(hass, entry: ConfigEntry):
                 "select_nightvision": "select_night_vision",
                 "switch_timer_set": "switch_timer",
                 "switch_timer_start": "switch_timer",
+                "select_record_mode": "select_recording_mode",
             }
             return replace_unique_ids(entity_entry, device_id, conf_file, replacements)
 

+ 3 - 4
custom_components/tuya_local/devices/arlec_pfc002ha_petfeeder_camera.yaml

@@ -53,8 +53,7 @@ entities:
           - dps_val: "2"
             value: "on"
   - entity: select
-    name: Recording mode
-    icon: "mdi:file-video"
+    translation_key: recording_mode
     category: config
     dps:
       - id: 151
@@ -62,9 +61,9 @@ entities:
         name: option
         mapping:
           - dps_val: "1"
-            value: Event
+            value: event
           - dps_val: "2"
-            value: Continuous
+            value: continuous
   - entity: number
     translation_key: manual_feed
     dps:

+ 3 - 4
custom_components/tuya_local/devices/bcom_intercom_camera.yaml

@@ -140,8 +140,7 @@ entities:
           - dps_val: 2003
             value: Card error
   - entity: select
-    name: Recording mode
-    icon: "mdi:file-video"
+    translation_key: recording_mode
     category: config
     dps:
       - id: 151
@@ -150,9 +149,9 @@ entities:
         name: option
         mapping:
           - dps_val: "1"
-            value: Event
+            value: event
           - dps_val: "2"
-            value: Continuous
+            value: continuous
   - entity: button
     category: config
     class: restart

+ 3 - 4
custom_components/tuya_local/devices/camnsmart_e27_camera.yaml

@@ -178,8 +178,7 @@ entities:
           min: 1
           max: 100
   - entity: select
-    name: Recording mode
-    icon: "mdi:file-video"
+    translation_key: recording_mode
     category: config
     dps:
       - id: 151
@@ -188,9 +187,9 @@ entities:
         optional: true
         mapping:
           - dps_val: "1"
-            value: Event
+            value: event
           - dps_val: "2"
-            value: Continuous
+            value: continuous
   - entity: switch
     name: Motion tracking
     icon: "mdi:motion-sensor"

+ 3 - 4
custom_components/tuya_local/devices/ceres_plus_petfeeder.yaml

@@ -95,8 +95,7 @@ entities:
         name: switch
         optional: true
   - entity: select
-    name: Recording mode
-    icon: "mdi:video"
+    translation_key: recording_mode
     category: config
     dps:
       - id: 151
@@ -105,9 +104,9 @@ entities:
         optional: true
         mapping:
           - dps_val: "1"
-            value: Event
+            value: event
           - dps_val: "2"
-            value: Continuous
+            value: continuous
   - entity: button
     class: restart
     category: config

+ 3 - 4
custom_components/tuya_local/devices/door_peephole_camera.yaml

@@ -115,8 +115,7 @@ entities:
           - dps_val: 2003
             value: Card error
   - entity: select
-    name: Recording mode
-    icon: "mdi:file-video"
+    translation_key: recording_mode
     category: config
     dps:
       - id: 151
@@ -125,9 +124,9 @@ entities:
         optional: true
         mapping:
           - dps_val: "1"
-            value: Event
+            value: event
           - dps_val: "2"
-            value: Continuous
+            value: continuous
   - entity: event
     class: motion
     category: diagnostic

+ 3 - 4
custom_components/tuya_local/devices/emos_ip300_camera.yaml

@@ -202,8 +202,7 @@ entities:
           min: 20
           max: 100
   - entity: select
-    name: Recording mode
-    icon: "mdi:file-video"
+    translation_key: recording_mode
     category: config
     dps:
       - id: 151
@@ -212,9 +211,9 @@ entities:
         optional: true
         mapping:
           - dps_val: "1"
-            value: Event
+            value: event
           - dps_val: "2"
-            value: Continuous
+            value: continuous
           - dps_val: null
             value: null
   - entity: siren

+ 3 - 4
custom_components/tuya_local/devices/feelneedy_plfp01_petfeeder.yaml

@@ -246,8 +246,7 @@ entities:
         optional: true
         name: sensor
   - entity: select
-    name: Recording mode
-    icon: "mdi:cctv"
+    translation_key: recording_mode
     category: config
     dps:
       - id: 151
@@ -255,9 +254,9 @@ entities:
         name: option
         mapping:
           - dps_val: "1"
-            value: Event
+            value: event
           - dps_val: "2"
-            value: Continuous
+            value: continuous
   - entity: switch
     name: Motion tracking
     icon: "mdi:motion"

+ 3 - 4
custom_components/tuya_local/devices/frienhund_acf180wa_dualfeeder.yaml

@@ -151,8 +151,7 @@ entities:
           - dps_val: "2"
             value: error
   - entity: select
-    name: Recording mode
-    icon: "mdi:file-video"
+    translation_key: recording_mode
     category: config
     dps:
       - id: 151
@@ -160,9 +159,9 @@ entities:
         name: option
         mapping:
           - dps_val: "1"
-            value: Event
+            value: event
           - dps_val: "2"
-            value: Continuous
+            value: continuous
   - entity: number
     translation_key: volume
     category: config

+ 3 - 4
custom_components/tuya_local/devices/garage_door_camera.yaml

@@ -100,8 +100,7 @@ entities:
           - dps_val: 2003
             value: Card error
   - entity: select
-    name: Recording mode
-    icon: "mdi:file-video"
+    translation_key: recording_mode
     category: config
     dps:
       - id: 151
@@ -110,9 +109,9 @@ entities:
         optional: true
         mapping:
           - dps_val: "1"
-            value: Event
+            value: event
           - dps_val: "2"
-            value: Continuous
+            value: continuous
   - entity: event
     class: motion
     category: diagnostic

+ 3 - 4
custom_components/tuya_local/devices/homemate_ptzcamera.yaml

@@ -306,8 +306,7 @@ entities:
         optional: true
         name: audio
   - entity: select
-    name: Recording mode
-    icon: "mdi:file-video"
+    translation_key: recording_mode
     category: config
     dps:
       - id: 151
@@ -315,9 +314,9 @@ entities:
         name: option
         mapping:
           - dps_val: "1"
-            value: Event
+            value: event
           - dps_val: "2"
-            value: Continuous
+            value: continuous
   - entity: siren
     category: config
     icon: "mdi:bullhorn"

+ 3 - 4
custom_components/tuya_local/devices/huntertbk_hf6602t_doorbell.yaml

@@ -177,8 +177,7 @@ entities:
         type: boolean
         name: sensor
   - entity: select
-    name: Record mode
-    icon: "mdi:video"
+    translation_key: recording_mode
     category: config
     dps:
       - id: 151
@@ -186,9 +185,9 @@ entities:
         name: option
         mapping:
           - dps_val: "1"
-            value: Event recording
+            value: event
           - dps_val: "2"
-            value: Continuous recording
+            value: continuous
   - entity: select
     name: PIR sensitivity
     icon: "mdi:motion-sensor"

+ 3 - 4
custom_components/tuya_local/devices/kerui_200w_camera.yaml

@@ -256,8 +256,7 @@ entities:
             value: true
           - value: false
   - entity: select
-    name: Recording mode
-    icon: "mdi:file-video"
+    translation_key: recording_mode
     category: config
     dps:
       - id: 151
@@ -265,9 +264,9 @@ entities:
         name: option
         mapping:
           - dps_val: "1"
-            value: Event
+            value: event
           - dps_val: "2"
-            value: Continuous
+            value: continuous
   - entity: switch
     name: Motion tracking
     icon: "mdi:motion"

+ 3 - 4
custom_components/tuya_local/devices/kerui_300w_camera.yaml

@@ -264,8 +264,7 @@ entities:
             value: true
           - value: false
   - entity: select
-    name: Recording mode
-    icon: "mdi:file-video"
+    translation_key: recording_mode
     category: config
     dps:
       - id: 151
@@ -273,9 +272,9 @@ entities:
         name: option
         mapping:
           - dps_val: "1"
-            value: Event
+            value: event
           - dps_val: "2"
-            value: Continuous
+            value: continuous
   - entity: number
     translation_key: volume
     category: config

+ 3 - 4
custom_components/tuya_local/devices/lsc_ptz_camera.yaml

@@ -290,8 +290,7 @@ entities:
           - dps_val: "1"
             value: "High"
   - entity: select
-    name: Recording mode
-    icon: "mdi:file-video"
+    translation_key: recording_mode
     category: config
     dps:
       - id: 151
@@ -300,9 +299,9 @@ entities:
         optional: true
         mapping:
           - dps_val: "1"
-            value: Event
+            value: event
           - dps_val: "2"
-            value: Continuous
+            value: continuous
   - entity: switch
     name: Alarm
     category: config

+ 3 - 4
custom_components/tuya_local/devices/lscsmartconnect_camerapetfeeder.yaml

@@ -112,8 +112,7 @@ entities:
           - dps_val: 2003
             value: Card error
   - entity: select
-    name: Recording mode
-    icon: "mdi:file-video"
+    translation_key: recording_mode
     category: config
     dps:
       - id: 151
@@ -122,9 +121,9 @@ entities:
         optional: true
         mapping:
           - dps_val: "1"
-            value: Event
+            value: event
           - dps_val: "2"
-            value: Continuous
+            value: continuous
   - entity: number
     translation_key: manual_feed
     dps:

+ 3 - 4
custom_components/tuya_local/devices/lscsmartconnect_outdoorcamera.yaml

@@ -162,8 +162,7 @@ entities:
           - dps_val: "1"
             value: "High"
   - entity: select
-    name: Recording mode
-    icon: "mdi:file-video"
+    translation_key: recording_mode
     category: config
     dps:
       - id: 151
@@ -172,9 +171,9 @@ entities:
         optional: true
         mapping:
           - dps_val: "1"
-            value: Event
+            value: event
           - dps_val: "2"
-            value: Continuous
+            value: continuous
   - entity: switch
     name: Alarm
     category: config

+ 3 - 4
custom_components/tuya_local/devices/lscsmartconnect_outdoorptzcamera.yaml

@@ -312,8 +312,7 @@ entities:
         optional: true
         name: audio
   - entity: select
-    name: Recording mode
-    icon: "mdi:file-video"
+    translation_key: recording_mode
     category: config
     dps:
       - id: 151
@@ -322,9 +321,9 @@ entities:
         optional: true
         mapping:
           - dps_val: "1"
-            value: Event
+            value: event
           - dps_val: "2"
-            value: Continuous
+            value: continuous
   - entity: switch
     name: Alarm
     category: config

+ 3 - 4
custom_components/tuya_local/devices/moes_indoorptz_camera.yaml

@@ -348,8 +348,7 @@ entities:
         optional: true
         name: sound
   - entity: select
-    name: Record mode
-    icon: "mdi:video"
+    translation_key: recording_mode
     category: config
     dps:
       - id: 151
@@ -357,9 +356,9 @@ entities:
         name: option
         mapping:
           - dps_val: "1"
-            value: Event
+            value: event
           - dps_val: "2"
-            value: Continuous
+            value: continuous
   - entity: number
     translation_key: volume
     category: config

+ 3 - 4
custom_components/tuya_local/devices/moes_wcmp52_camera.yaml

@@ -326,8 +326,7 @@ entities:
         optional: true
         name: sound
   - entity: select
-    name: Record mode
-    icon: "mdi:video"
+    translation_key: recording_mode
     category: config
     dps:
       - id: 151
@@ -335,9 +334,9 @@ entities:
         name: option
         mapping:
           - dps_val: "1"
-            value: Event
+            value: event
           - dps_val: "2"
-            value: Continuous
+            value: continuous
   - entity: number
     translation_key: volume
     category: config

+ 3 - 4
custom_components/tuya_local/devices/mypin_6l_videopetfeeder.yaml

@@ -110,8 +110,7 @@ entities:
           - dps_val: 0
             value: Formatted
   - entity: select
-    name: Recording mode
-    icon: "mdi:vhs"
+    translation_key: recording_mode
     category: config
     dps:
       - id: 151
@@ -120,9 +119,9 @@ entities:
         name: option
         mapping:
           - dps_val: "1"
-            value: Event
+            value: event
           - dps_val: "2"
-            value: Continuous
+            value: continuous
   - entity: button
     class: restart
     dps:

+ 3 - 7
custom_components/tuya_local/devices/nedis_outdoor_camera.yaml

@@ -182,8 +182,7 @@ entities:
             value: Unknown
             hidden: true
   - entity: select
-    name: Recording mode
-    icon: "mdi:file-video"
+    translation_key: recording_mode
     category: config
     dps:
       - id: 151
@@ -192,12 +191,9 @@ entities:
         optional: true
         mapping:
           - dps_val: "1"
-            value: Event
+            value: event
           - dps_val: "2"
-            value: Continuous
-          - dps_val: null
-            value: None
-            hidden: true
+            value: continuous
   - entity: switch
     name: Motion alarm area
     icon: "mdi:crop"

+ 3 - 4
custom_components/tuya_local/devices/nexsmart_watch2_camera.yaml

@@ -259,8 +259,7 @@ entities:
             value: Formatted
 
   - entity: select
-    name: Recording mode
-    icon: "mdi:file-video"
+    translation_key: recording_mode
     category: config
     # Recording Mode Selector (matches record_mode: 151)
     dps:
@@ -270,9 +269,9 @@ entities:
         optional: true
         mapping:
           - dps_val: "1"
-            value: Event
+            value: event
           - dps_val: "2"
-            value: Continuous
+            value: continuous
 
   # ------------------------------------
   # 8. Advanced / ONVIF

+ 3 - 4
custom_components/tuya_local/devices/ningbo_bf314a_petfeeder.yaml

@@ -152,8 +152,7 @@ entities:
           - dps_val: "5"
             value: "5 minutes"
   - entity: select
-    name: Recording mode
-    icon: "mdi:file-video"
+    translation_key: recording_mode
     category: config
     dps:
       - id: 151
@@ -161,9 +160,9 @@ entities:
         name: option
         mapping:
           - dps_val: "1"
-            value: Event
+            value: event
           - dps_val: "2"
-            value: Continuous
+            value: continuous
       # Seems to be the same thing, and missing from log
       - id: 113
         type: boolean

+ 3 - 4
custom_components/tuya_local/devices/petlibro_camera_feeder.yaml

@@ -142,8 +142,7 @@ entities:
         name: switch
         optional: true
   - entity: select
-    name: Recording mode
-    icon: "mdi:video"
+    translation_key: recording_mode
     category: config
     dps:
       - id: 151
@@ -151,9 +150,9 @@ entities:
         name: option
         mapping:
           - dps_val: "1"
-            value: Event
+            value: event
           - dps_val: "2"
-            value: Continuous
+            value: continuous
   - entity: number
     translation_key: manual_feed
     dps:

+ 3 - 4
custom_components/tuya_local/devices/sc116wz3a_camera.yaml

@@ -280,8 +280,7 @@ entities:
           - dps_val: "1"
             value: "High"
   - entity: select
-    name: Recording mode
-    icon: "mdi:file-video"
+    translation_key: recording_mode
     category: config
     dps:
       - id: 151
@@ -290,9 +289,9 @@ entities:
         optional: true
         mapping:
           - dps_val: "1"
-            value: Event
+            value: event
           - dps_val: "2"
-            value: Continuous
+            value: continuous
   - entity: switch
     name: Alarm
     category: config

+ 3 - 4
custom_components/tuya_local/devices/smcm_doorbellpro_camera.yaml

@@ -139,8 +139,7 @@ entities:
         name: message
         optional: true
   - entity: select
-    name: Recording mode
-    icon: "mdi:file-video"
+    translation_key: recording_mode
     category: config
     dps:
       - id: 151
@@ -148,9 +147,9 @@ entities:
         name: option
         mapping:
           - dps_val: "1"
-            value: Event
+            value: event
           - dps_val: "2"
-            value: Continuous
+            value: continuous
   - entity: switch
     name: Alarm
     category: config

+ 3 - 4
custom_components/tuya_local/devices/yakry_camera_petfeeder.yaml

@@ -143,8 +143,7 @@ entities:
           - dps_val: false
             value: Continuous
   - entity: select
-    name: Recording mode
-    icon: "mdi:file-video"
+    translation_key: recording_mode
     category: config
     dps:
       - id: 151
@@ -152,9 +151,9 @@ entities:
         name: option
         mapping:
           - dps_val: "1"
-            value: Event
+            value: event
           - dps_val: "2"
-            value: Continuous
+            value: continuous
   - entity: number
     translation_key: volume
     category: config

+ 7 - 0
custom_components/tuya_local/icons.json

@@ -568,6 +568,13 @@
                     "preheat": "mdi:fire"
                 }
             },
+            "recording_mode": {
+                "default": "mdi:file-video",
+                "state": {
+                    "event": "mdi:movie-open",
+                    "continuous": "mdi:record-rec",
+                }
+            },
             "scene": {
                 "default": "mdi:palette",
                 "state": {

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

@@ -753,6 +753,13 @@
                     "preheat": "Предварително загряване"
                 }
             },
+            "recording_mode": {
+                "name": "Режим на запис",
+                "state": {
+                    "event": "Събитие",
+                    "continuous": "Непрекъснато"
+                }
+            },
             "scene": {
                 "name": "Сцена",
                 "state": {

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

@@ -753,6 +753,13 @@
                     "preheat": "Preescalfament"
                 }
             },
+            "recording_mode": {
+                "name": "Mode de grabación",
+                "state": {
+                    "event": "Evento",
+                    "continuous": "Continuo"
+                }
+            },
             "scene": {
                 "name": "Escena",
                 "state": {

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

@@ -753,6 +753,13 @@
                     "preheat": "Předehřátí"
                 }
             },
+            "recording_mode": {
+                "name": "Režim nahrávání",
+                "state": {
+                    "event": "Událost",
+                    "continuous": "Nepřetržitý"
+                }
+            },
             "scene": {
                 "name": "Scéna",
                 "state": {

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

@@ -753,6 +753,13 @@
                     "preheat": "Vorheizen"
                 }
             },
+            "recording_mode": {
+                "name": "Aufnahmemodus",
+                "state": {
+                    "event": "Ereignis",
+                    "continuous": "Dauerbetrieb"
+                }
+            },
             "scene": {
                 "name": "Szene",
                 "state": {

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

@@ -753,6 +753,13 @@
                     "preheat": "Προθέρμανση"
                 }
             },
+            "recording_mode": {
+                "name": "Λειτουργία εγγραφής",
+                "state": {
+                    "event": "Εγγραφή συμβάντων",
+                    "continuous": "Συνεχής εγγραφή"
+                }
+            },
             "scene": {
                 "name": "Σκηνή",
                 "state": {

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

@@ -753,6 +753,13 @@
                     "preheat": "Preheat"
                 }
             },
+            "recording_mode": {
+                "name": "Recording mode",
+                "state": {
+                    "event": "Event",
+                    "continuous": "Continuous"
+                }
+            },
             "scene": {
                 "name": "Scene",
                 "state": {

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

@@ -753,6 +753,13 @@
                     "preheat": "Precalentar"
                 }
             },
+            "recording_mode": {
+                "name": "Modo de grabación",
+                "state": {
+                    "event": "Evento",
+                    "continuous": "Continuo"
+                }
+            },
             "scene": {
                 "name": "Escena",
                 "state": {

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

@@ -753,6 +753,13 @@
                     "preheat": "Préchauffer"
                 }
             },
+            "recording_mode": {
+                "name": "Mode d'enregistrement",
+                "state": {
+                    "event": "Événement",
+                    "continuous": "Continu"
+                }
+            },
             "scene": {
                 "name": "Scène",
                 "state": {

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

@@ -753,6 +753,13 @@
                     "preheat": "Előmelegítés"
                 }
             },
+            "recording_mode": {
+                "name": "Felvételi mód",
+                "state": {
+                    "event": "Esemény",
+                    "continuous": "Folyamatos"
+                }
+            },
             "scene": {
                 "name": "Jelenet",
                 "state": {

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

@@ -753,6 +753,13 @@
                     "preheat": "Pemanasan awal"
                 }
             },
+            "recording_mode": {
+                "name": "Mode perekaman",
+                "state": {
+                    "event": "Peristiwa",
+                    "continuous": "Terus menerus"
+                }
+            },
             "scene": {
                 "name": "Adegan",
                 "state": {

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

@@ -753,6 +753,13 @@
                     "preheat": "Preriscaldare"
                 }
             },
+            "recording_mode": {
+                "name": "Modalità di registrazione",
+                "state": {
+                    "event": "Evento",
+                    "continuous": "Continuo"
+                }
+            },
             "scene": {
                 "name": "Scena",
                 "state": {

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

@@ -753,6 +753,13 @@
                     "preheat": "予熱"
                 }
             },
+            "recording_mode": {
+                "name": "録画モード",
+                "state": {
+                    "event": "イベント",
+                    "continuous": "連続"
+                }
+            },
             "scene": {
                 "name": "シーン",
                 "state": {

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

@@ -753,6 +753,13 @@
                     "preheat": "Forvarm"
                 }
             },
+            "recording_mode": {
+                "name": "Innspillingsmodus",
+                "state": {
+                    "event": "Hendelse",
+                    "continuous": "Kontinuerlig"
+                }
+            },
             "scene": {
                 "name": "Scene",
                 "state": {

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

@@ -753,6 +753,13 @@
                     "preheat": "Rozgrzewanie"
                 }
             },
+            "recording_mode": {
+                "name": "Tryb nagrywania",
+                "state": {
+                    "event": "Zdarzenie",
+                    "continuous": "Ciągły"
+                }
+            },
             "scene": {
                 "name": "Scena",
                 "state": {

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

@@ -753,6 +753,13 @@
                     "preheat": "Pré-aquecer"
                 }
             },
+            "recording_mode": {
+                "name": "Modo de gravação",
+                "state": {
+                    "event": "Evento",
+                    "continuous": "Contínuo"
+                }
+            },
             "scene": {
                 "name": "Cena",
                 "state": {

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

@@ -753,6 +753,13 @@
                     "preheat": "Pré-aquecer"
                 }
             },
+            "recording_mode": {
+                "name": "Modo de gravação",
+                "state": {
+                    "event": "Evento",
+                    "continuous": "Contínuo"
+                }
+            },
             "scene": {
                 "name": "Cena",
                 "state": {

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

@@ -753,6 +753,13 @@
                     "preheat": "Preîncălzire"
                 }
             },
+            "recording_mode": {
+                "name": "Mod înregistrare",
+                "state": {
+                    "event": "Eveniment",
+                    "continuous": "Continuu"
+                }
+            },
             "scene": {
                 "name": "Scenă",
                 "state": {

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

@@ -753,6 +753,13 @@
                     "preheat": "Предварительный нагрев"
                 }
             },
+            "recording_mode": {
+                "name": "Режим записи",
+                "state": {
+                    "event": "Событие",
+                    "continuous": "Непрерывный"
+                }
+            },
             "scene": {
                 "name": "Сцена",
                 "state": {

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

@@ -753,6 +753,13 @@
                     "preheat": "Förvärm"
                 }
             },
+            "recording_mode": {
+                "name": "Inspelningsläge",
+                "state": {
+                    "event": "Händelse",
+                    "continuous": "Kontinuerlig"
+                }
+            },
             "scene": {
                 "name": "Scen",
                 "state": {

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

@@ -753,6 +753,13 @@
                     "preheat": "Попередній нагрів"
                 }
             },
+            "recording_mode": {
+                "name": "Режим записи",
+                "state": {
+                    "event": "Событие",
+                    "continuous": "Постоянный"
+                }
+            },
             "scene": {
                 "name": "Сцена",
                 "state": {

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

@@ -753,6 +753,13 @@
                     "preheat": "پری ہیٹ"
                 }
             },
+            "recording_mode": {
+                "name": "ریکارڈنگ موڈ",
+                "state": {
+                    "event": "واقعہ",
+                    "continuous": "مسلسل"
+                }
+            },
             "scene": {
                 "name": "منظر",
                 "state": {

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

@@ -753,6 +753,13 @@
                     "preheat": "预热"
                 }
             },
+            "recording_mode": {
+                "name": "录像模式",
+                "state": {
+                    "event": "事件",
+                    "continuous": "连续"
+                }
+            },
             "scene": {
                 "name": "场景",
                 "state": {

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

@@ -753,6 +753,13 @@
                     "preheat": "預熱"
                 }
             },
+            "recording_mode": {
+                "name": "錄影模式",
+                "state": {
+                    "event": "事件",
+                    "continuous": "連續"
+                }
+            },
             "scene": {
                 "name": "場景",
                 "state": {