Parcourir la source

feat(devices): add support for Unistyle WT-04W water timer

- Added YAML configuration for Unistyle WT-04W water timer
- Updated translations to include new timer and valve related keys

Issue #3506
Jason Rumney il y a 6 mois
Parent
commit
c97d50bf3d

+ 1 - 0
ACKNOWLEDGEMENTS.md

@@ -1013,3 +1013,4 @@ Further device support has been made with the assistance of users. Please consid
 - [saberraz](https://github.com/saberraz) for contributing support for Prodotec PT02 air quality monitor, GZAIR radon gas detector.
 - [fender4645](https://github.com/fender4645) for contributing support for Heonofly Smart Wood ceiling fan with lights.
 - [JakubMadro](https://github.com/JakubMadro) for contributing support for EARU PC473 3-phase energy monitor.
+- [jlg78fr](https://github.com/jlg78fr) for assisting with support for Unistyle WT-04W water timer.

+ 1 - 0
DEVICES.md

@@ -1091,6 +1091,7 @@ port and password.
 - TCS024B plant moisture sensor
 - TH05 temperature and humidity sensor
 - THB2 temperature and humidity sensor
+- Unistyle WT-04W water timer
 - XCase NX-4964 lock box
 - YL01 water quality tester
 - YSG BS01 lock

+ 299 - 0
custom_components/tuya_local/devices/unistyle_wt04_watertimer.yaml

@@ -0,0 +1,299 @@
+name: Water timer
+products:
+  - id: ojrvmfkk
+    manufacturer: Unistyle
+    model: WT-04W
+entities:
+  - entity: valve
+    translation_key: valve_x
+    translation_placeholders:
+      x: "1"
+    dps:
+      - id: 1
+        type: boolean
+        name: valve
+      - id: 102
+        type: base64
+        optional: true
+        name: irrigation_log
+  - entity: select
+    name: Weather delay
+    icon: "mdi:weather-cloudy-clock"
+    translation_key: timer
+    category: config
+    dps:
+      - id: 10
+        type: string
+        name: option
+        mapping:
+          - dps_val: cancel
+            value: cancel
+          - dps_val: "1day"
+            value: "1d"
+          - dps_val: "2day"
+            value: "2d"
+          - dps_val: "3day"
+            value: "3d"
+          - dps_val: "4day"
+            value: "4d"
+          - dps_val: "5day"
+            value: "5d"
+          - dps_val: "6day"
+            value: "6d"
+          - dps_val: "7day"
+            value: "7d"
+  - entity: time
+    translation_key: timer_x
+    translation_placeholders:
+      x: "1"
+    category: config
+    dps:
+      - id: 11
+        type: integer
+        name: second
+        range:
+          min: 0
+          max: 86400
+  - entity: sensor
+    class: enum
+    translation_key: status
+    name: Valve 1 status
+    category: diagnostic
+    dps:
+      - id: 12
+        type: string
+        name: sensor
+        mapping:
+          - dps_val: auto
+            value: auto
+          - dps_val: manual
+            value: manual
+          - dps_val: idle
+            value: idle
+          - dps_val: spray
+            value: working
+          - dps_val: delay
+            value: rain_delay
+  - entity: select
+    name: Weather
+    icon: "mdi:weather-cloudy"
+    category: config
+    dps:
+      - id: 13
+        type: string
+        optional: true
+        name: option
+        mapping:
+          - dps_val: sunny
+            value: Sunny
+            icon: "mdi:weather-sunny"
+            icon_priority: 1
+          - dps_val: rainy
+            value: Rainy
+            icon: "mdi:weather-pouring"
+            icon_priority: 1
+  - entity: switch
+    name: Use weather
+    icon: "mdi:weather-cloudy"
+    category: config
+    dps:
+      - id: 14
+        type: boolean
+        name: switch
+  - entity: sensor
+    class: battery
+    category: diagnostic
+    dps:
+      - id: 101
+        type: integer
+        name: sensor
+        unit: "%"
+        class: measurement
+  - entity: sensor
+    class: duration
+    translation_key: time_remaining_x
+    translation_placeholders:
+      x: "1"
+    category: diagnostic
+    dps:
+      - id: 103
+        type: integer
+        name: sensor
+        unit: s
+        class: measurement
+  - entity: text
+    name: Valve 1 schedule 1
+    category: config
+    icon: "mdi:calendar"
+    hidden: true
+    dps:
+      - id: 104
+        type: base64
+        optional: true
+        name: value
+  - entity: text
+    name: Valve 1 schedule 2
+    category: config
+    icon: "mdi:calendar"
+    hidden: true
+    dps:
+      - id: 105
+        type: base64
+        optional: true
+        name: value
+  - entity: text
+    name: Valve 1 schedule 3
+    category: config
+    icon: "mdi:calendar"
+    hidden: true
+    dps:
+      - id: 106
+        type: base64
+        optional: true
+        name: value
+  - entity: text
+    name: Valve 1 schedule 4
+    category: config
+    icon: "mdi:calendar"
+    hidden: true
+    dps:
+      - id: 107
+        type: base64
+        optional: true
+        name: value
+  - entity: text
+    name: Valve 1 cyclic schedule
+    category: config
+    icon: "mdi:calendar"
+    hidden: true
+    dps:
+      - id: 108
+        type: base64
+        optional: true
+        name: value
+  - entity: text
+    name: Valve 1 schedule 5
+    category: config
+    icon: "mdi:calendar"
+    hidden: true
+    dps:
+      - id: 109
+        type: base64
+        optional: true
+        name: value
+  - entity: text
+    name: Valve 2 cyclic schedule
+    category: config
+    icon: "mdi:calendar"
+    hidden: true
+    dps:
+      - id: 110
+        type: base64
+        optional: true
+        name: value
+  - entity: valve
+    translation_key: valve_x
+    translation_placeholders:
+      x: "2"
+    dps:
+      - id: 121
+        type: boolean
+        name: switch
+      - id: 112
+        type: base64
+        optional: true
+        name: irrigation_log
+  - entity: text
+    name: Valve 2 schedule 1
+    category: config
+    icon: "mdi:calendar"
+    hidden: true
+    dps:
+      - id: 113
+        type: base64
+        optional: true
+        name: value
+  - entity: text
+    name: Valve 2 schedule 2
+    category: config
+    icon: "mdi:calendar"
+    hidden: true
+    dps:
+      - id: 114
+        type: base64
+        optional: true
+        name: value
+  - entity: text
+    name: Valve 2 schedule 3
+    category: config
+    icon: "mdi:calendar"
+    hidden: true
+    dps:
+      - id: 115
+        type: base64
+        optional: true
+        name: value
+  - entity: text
+    name: Valve 2 schedule 4
+    category: config
+    icon: "mdi:calendar"
+    hidden: true
+    dps:
+      - id: 116
+        type: base64
+        optional: true
+        name: value
+  - entity: text
+    name: Valve 2 schedule 5
+    category: config
+    icon: "mdi:calendar"
+    hidden: true
+    dps:
+      - id: 117
+        type: base64
+        optional: true
+        name: value
+  - entity: time
+    translation_key: timer_x
+    translation_placeholders:
+      x: "2"
+    category: config
+    dps:
+      - id: 122
+        type: integer
+        name: second
+        range:
+          min: 0
+          max: 86400
+  - entity: sensor
+    class: enum
+    translation_key: status
+    name: Valve 2 status
+    category: diagnostic
+    dps:
+      - id: 123
+        type: string
+        name: sensor
+        mapping:
+          - dps_val: auto
+            value: auto
+          - dps_val: manual
+            value: manual
+          - dps_val: idle
+            value: idle
+          - dps_val: spray
+            value: working
+          - dps_val: delay
+            value: rain_delay
+  - entity: sensor
+    class: duration
+    translation_key: time_remaining_x
+    translation_placeholders:
+      x: "2"
+    category: diagnostic
+    dps:
+      - id: 124
+        type: integer
+        name: sensor
+        unit: s
+        class: measurement

+ 16 - 1
custom_components/tuya_local/translations/bg.json

@@ -595,7 +595,14 @@
                     "24h": "24 часа",
                     "36h": "36 часа",
                     "48h": "48 часа",
-                    "72h": "72 часа"
+                    "72h": "72 часа",
+                    "1d": "1 ден",
+                    "2d": "2 дни",
+                    "3d": "3 дни",
+                    "4d": "4 дни",
+                    "5d": "5 дни",
+                    "6d": "6 дни",
+                    "7d": "7 дни"
                 }
 
             },
@@ -735,6 +742,9 @@
             "time_remaining": {
                 "name": "Оставащо време"
             },
+            "time_remaining_x": {
+                "name": "Оставащо време {x}"
+            },
             "cooking_status": {
                 "name": "Състояние",
                 "state": {
@@ -820,6 +830,11 @@
                 "name": "Таймер {x}"
             }
         },
+        "valve": {
+            "valve_x": {
+                "name": "Клапан {x}"
+            }
+        },
         "water_heater": {
             "water_air": {
                 "name": "Нагревател на вода"

+ 16 - 1
custom_components/tuya_local/translations/ca.json

@@ -443,6 +443,9 @@
             "time_remaining": {
                 "name": "Temps restant"
             },
+            "time_remaining_x": {
+                "name": "Temps restant {x}"
+            },
             "current_x": {
                 "name": "Corrent {x}"
             },
@@ -730,7 +733,14 @@
                     "24h": "24 hores",
                     "36h": "36 hores",
                     "48h": "48 hores",
-                    "72h": "72 hores"
+                    "72h": "72 hores",
+                    "1d": "1 dia",
+                    "2d": "2 dies",
+                    "3d": "3 dies",
+                    "4d": "4 dies",
+                    "5d": "5 dies",
+                    "6d": "6 dies",
+                    "7d": "7 dies"
                 }
             },
             "temperature_unit": {
@@ -819,6 +829,11 @@
                 "name": "Temporitzador {x}"
             }
         },
+        "valve": {
+            "valve_x": {
+                "name": "Vàlvula {x}"
+            }
+        },
         "water_heater": {
             "water_air": {
                 "name": "Escalfador d'aigua"

+ 16 - 1
custom_components/tuya_local/translations/cz.json

@@ -595,7 +595,14 @@
                     "24h": "24 hodin",
                     "36h": "36 hodin",
                     "48h": "48 hodin",
-                    "72h": "72 hodin"
+                    "72h": "72 hodin",
+                    "1d": "1 den",
+                    "2d": "2 dny",
+                    "3d": "3 dny",
+                    "4d": "4 dny",
+                    "5d": "5 dní",
+                    "6d": "6 dní",
+                    "7d": "7 dní"
                 }
             },
             "temperature_unit": {
@@ -734,6 +741,9 @@
             "time_remaining": {
                 "name": "Zbývající čas"
             },
+            "time_remaining_x": {
+                "name": "Zbývající čas {x}"
+            },
             "cooking_status": {
                 "name": "Vaření",
                 "state": {
@@ -819,6 +829,11 @@
                 "name": "Časovač {x}"
             }
         },
+        "valve": {
+            "valve_x": {
+                "name": "Ventil {x}"
+            }
+        },
         "water_heater": {
             "water_air": {
                 "name": "Ohřívač vody"

+ 16 - 1
custom_components/tuya_local/translations/de.json

@@ -594,7 +594,14 @@
                     "24h": "24 Stunden",
                     "36h": "36 Stunden",
                     "48h": "48 Stunden",
-                    "72h": "72 Stunden"
+                    "72h": "72 Stunden",
+                    "1d": "1 Tag",
+                    "2d": "2 Tage",
+                    "3d": "3 Tage",
+                    "4d": "4 Tage",
+                    "5d": "5 Tage",
+                    "6d": "6 Tage",
+                    "7d": "7 Tage"
                 }
             },
             "temperature_unit": {
@@ -734,6 +741,9 @@
             "time_remaining": {
                 "name": "Verbleibende Zeit"
             },
+            "time_remaining_x": {
+                "name": "Verbleibende Zeit {x}"
+            },
             "cooking_status": {
                 "name": "Kochstatus",
                 "state": {
@@ -819,6 +829,11 @@
                 "name": "Timer {x}"
             }
         },
+        "valve": {
+            "valve_x": {
+                "name": "Ventil {x}"
+            }
+        },
         "water_heater": {
             "water_air": {
                 "name": "Wasserkocher"

+ 16 - 1
custom_components/tuya_local/translations/el.json

@@ -595,7 +595,14 @@
                     "24h": "24 ώρες",
                     "36h": "36 ώρες",
                     "48h": "48 ώρες",
-                    "72h": "72 ώρες"
+                    "72h": "72 ώρες",
+                    "1d": "1 ημέρα",
+                    "2d": "2 ημέρες",
+                    "3d": "3 ημέρες",
+                    "4d": "4 ημέρες",
+                    "5d": "5 ημέρες",
+                    "6d": "6 ημέρες",
+                    "7d": "7 ημέρες"
                 }
             },
             "temperature_unit": {
@@ -734,6 +741,9 @@
             "time_remaining": {
                 "name": "Χρόνος που απομένει"
             },
+            "time_remaining_x": {
+                "name": "Χρόνος που απομένει {x}"
+            },
             "cooking_status": {
                 "name": "Κατάσταση",
                 "state": {
@@ -819,6 +829,11 @@
                 "name": "Χρονοδιακόπτης {x}"
             }
         },
+        "valve": {
+            "valve_x": {
+                "name": "Βαλβίδα {x}"
+            }
+        },
         "water_heater": {
             "water_air": {
                 "name": "Θερμοσίφωνας"

+ 16 - 1
custom_components/tuya_local/translations/en.json

@@ -595,7 +595,14 @@
                     "24h": "24 hours",
                     "36h": "36 hours",
                     "48h": "48 hours",
-                    "72h": "72 hours"
+                    "72h": "72 hours",
+                    "1d": "1 day",
+                    "2d": "2 days",
+                    "3d": "3 days",
+                    "4d": "4 days",
+                    "5d": "5 days",
+                    "6d": "6 days",
+                    "7d": "7 days"
                 }
             },
             "temperature_unit": {
@@ -734,6 +741,9 @@
             "time_remaining": {
                 "name": "Time remaining"
             },
+            "time_remaining_x": {
+                "name": "Time remaining {x}"
+            },
             "cooking_status": {
                 "name": "Status",
                 "state": {
@@ -819,6 +829,11 @@
                 "name": "Timer {x}"
             }
         },
+        "valve": {
+            "valve_x": {
+                "name": "Valve {x}"
+            }
+        },
         "water_heater": {
             "water_air": {
                 "name": "Water heater"

+ 16 - 1
custom_components/tuya_local/translations/es.json

@@ -595,7 +595,14 @@
                     "24h": "24 horas",
                     "36h": "36 horas",
                     "48h": "48 horas",
-                    "72h": "72 horas"
+                    "72h": "72 horas",
+                    "1d": "1 día",
+                    "2d": "2 días",
+                    "3d": "3 días",
+                    "4d": "4 días",
+                    "5d": "5 días",
+                    "6d": "6 días",
+                    "7d": "7 días"
                 }
             },
             "temperature_unit": {
@@ -734,6 +741,9 @@
             "time_remaining": {
                 "name": "Tiempo restante"
             },
+            "time_remaining_x": {
+                "name": "Tiempo restante {x}"
+            },
             "cooking_status": {
                 "name": "Estado de cocción",
                 "state": {
@@ -819,6 +829,11 @@
                 "name": "Temporizador {x}"
             }
         },
+        "valve": {
+            "valve_x": {
+                "name": "Válvula {x}"
+            }
+        },
         "water_heater": {
             "water_air": {
                 "name": "Calentador de agua"

+ 16 - 1
custom_components/tuya_local/translations/fr.json

@@ -595,7 +595,14 @@
                     "24h": "24 heures",
                     "36h": "36 heures",
                     "48h": "48 heures",
-                    "72h": "72 heures"
+                    "72h": "72 heures",
+                    "1d": "1 jour",
+                    "2d": "2 jours",
+                    "3d": "3 jours",
+                    "4d": "4 jours",
+                    "5d": "5 jours",
+                    "6d": "6 jours",
+                    "7d": "7 jours"
                 }
             },
             "temperature_unit": {
@@ -734,6 +741,9 @@
             "time_remaining": {
                 "name": "Temps restant"
             },
+            "time_remaining_x": {
+                "name": "Temps restant {x}"
+            },
             "cooking_status": {
                 "name": "État de la cuisson",
                 "state": {
@@ -819,6 +829,11 @@
                 "name": "Minuteur {x}"
             }
         },
+        "valve": {
+            "valve_x": {
+                "name": "Vanne {x}"
+            }
+        },
         "water_heater": {
             "water_air": {
                 "name": "Chauffe-eau"

+ 16 - 1
custom_components/tuya_local/translations/hu.json

@@ -596,7 +596,14 @@
                     "24h": "24 óra",
                     "36h": "36 óra",
                     "48h": "48 óra",
-                    "72h": "72 óra"
+                    "72h": "72 óra",
+                    "1d": "1 nap",
+                    "2d": "2 nap",
+                    "3d": "3 nap",
+                    "4d": "4 nap",
+                    "5d": "5 nap",
+                    "6d": "6 nap",
+                    "7d": "7 nap"
                 }
             },
             "temperature_unit": {
@@ -735,6 +742,9 @@
             "time_remaining": {
                 "name": "Hátralevő idő"
             },
+            "time_remaining_x": {
+                "name": "Hátralevő idő {x}"
+            },
             "cooking_status": {
                 "name": "Főzési állapot",
                 "state": {
@@ -820,6 +830,11 @@
                 "name": "Időzítő {x}"
             }
         },
+        "valve": {
+            "valve_x": {
+                "name": "Szelep {x}"
+            }
+        },
         "water_heater": {
             "water_air": {
                 "name": "Vízmelegítő"

+ 16 - 1
custom_components/tuya_local/translations/id.json

@@ -595,7 +595,14 @@
                     "24h": "24 jam",
                     "36h": "36 jam",
                     "48h": "48 jam",
-                    "72h": "72 jam"
+                    "72h": "72 jam",
+                    "1d": "1 hari",
+                    "2d": "2 hari",
+                    "3d": "3 hari",
+                    "4d": "4 hari",
+                    "5d": "5 hari",
+                    "6d": "6 hari",
+                    "7d": "7 hari"
                 }
             },
             "temperature_unit": {
@@ -734,6 +741,9 @@
             "time_remaining": {
                 "name": "Waktu yang tersisa"
             },
+            "time_remaining_x": {
+                "name": "Waktu yang tersisa {x}"
+            },
             "cooking_status": {
                 "name": "Memasak",
                 "state": {
@@ -819,6 +829,11 @@
                 "name": "Pengatur waktu {x}"
             }
         },
+        "valve": {
+            "valve_x": {
+                "name": "Katup {x}"
+            }
+        },
         "water_heater": {
             "water_air": {
                 "name": "Pemanas air"

+ 17 - 2
custom_components/tuya_local/translations/it.json

@@ -596,7 +596,14 @@
                     "24h": "24 ore",
                     "36h": "36 ore",
                     "48h": "48 ore",
-                    "72h": "72 ore"
+                    "72h": "72 ore",
+                    "1d": "1 giorno",
+                    "2d": "2 giorni",
+                    "3d": "3 giorni",
+                    "4d": "4 giorni",
+                    "5d": "5 giorni",
+                    "6d": "6 giorni",
+                    "7d": "7 giorni"
                 }
             },
             "temperature_unit": {
@@ -735,6 +742,9 @@
             "time_remaining": {
                 "name": "Tempo rimanente"
             },
+            "time_remaining_x": {
+                "name": "Tempo rimanente {x}"
+            },
             "cooking_status": {
                 "name": "Stato di cottura",
                 "state": {
@@ -819,7 +829,12 @@
             "timer_x": {
                 "name": "Timer {x}"
             }
-        },            
+        },
+        "valve": {
+            "valve_x": {
+                "name": "Valvola {x}"
+            }
+        },
         "water_heater": {
             "water_air": {
                 "name": "Scaldabagno"

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

@@ -595,7 +595,14 @@
                     "24h": "24時間",
                     "36h": "36時間",
                     "48h": "48時間",
-                    "72h": "72時間"
+                    "72h": "72時間",
+                    "1d": "1日",
+                    "2d": "2日",
+                    "3d": "3日",
+                    "4d": "4日",
+                    "5d": "5日",
+                    "6d": "6日",
+                    "7d": "7日"
                 }
             },
             "temperature_unit": {
@@ -734,6 +741,9 @@
             "time_remaining": {
                 "name": "残り時間"
             },
+            "time_remaining_x": {
+                "name": "残り時間{x}"
+            },
             "cooking_status": {
                 "name": "調理状況",
                 "state": {
@@ -819,6 +829,11 @@
                 "name": "タイマー{x}"
             }
         },
+        "valve": {
+            "valve_x": {
+                "name": "バルブ{x}"
+            }
+        },
         "water_heater": {
             "water_air": {
                 "name": "給湯器"

+ 16 - 1
custom_components/tuya_local/translations/no-NB.json

@@ -596,7 +596,14 @@
                     "24h": "24 timer",
                     "36h": "36 timer",
                     "48h": "48 timer",
-                    "72h": "72 timer"
+                    "72h": "72 timer",
+                    "1d": "1 dag",
+                    "2d": "2 dager",
+                    "3d": "3 dager",
+                    "4d": "4 dager",
+                    "5d": "5 dager",
+                    "6d": "6 dager",
+                    "7d": "7 dager"
                 }
             },
             "temperature_unit": {
@@ -735,6 +742,9 @@
             "time_remaining": {
                 "name": "Gjenstående tid"
             },
+            "time_remaining_x": {
+                "name": "Gjenstående tid {x}"
+            },
             "cooking_status": {
                 "name": "Koketilstand",
                 "state": {
@@ -820,6 +830,11 @@
                 "name": "Timer {x}"
             }
         },
+        "valve": {
+            "valve_x": {
+                "name": "Ventil {x}"
+            }
+        },
         "water_heater": {
             "water_air": {
                 "name": "Vannvarmer"

+ 16 - 1
custom_components/tuya_local/translations/pl.json

@@ -595,7 +595,14 @@
                     "24h": "24 godziny",
                     "36h": "36 godzin",
                     "48h": "48 godzin",
-                    "72h": "72 godziny"
+                    "72h": "72 godziny",
+                    "1d": "1 dzień",
+                    "2d": "2 dni",
+                    "3d": "3 dni",
+                    "4d": "4 dni",
+                    "5d": "5 dni",
+                    "6d": "6 dni",
+                    "7d": "7 dni"
                 }
             },
             "temperature_unit": {
@@ -735,6 +742,9 @@
             "time_remaining": {
                 "name": "Pozostały czas"
             },
+            "time_remaining_x": {
+                "name": "Pozostały czas {x}"
+            },
             "cooking_status": {
                 "name": "Gotowanie",
                 "state": {
@@ -820,6 +830,11 @@
                 "name": "Regulator czasowy {x}"
             }
         },
+        "valve": {
+            "valve_x": {
+                "name": "Zawór {x}"
+            }
+        },
         "water_heater": {
             "water_air": {
                 "name": "Podgrzewacz wody"

+ 16 - 1
custom_components/tuya_local/translations/pt-BR.json

@@ -595,7 +595,14 @@
                     "24h": "24 horas",
                     "36h": "36 horas",
                     "48h": "48 horas",
-                    "72h": "72 horas"
+                    "72h": "72 horas",
+                    "1d": "1 dia",
+                    "2d": "2 dias",
+                    "3d": "3 dias",
+                    "4d": "4 dias",
+                    "5d": "5 dias",
+                    "6d": "6 dias",
+                    "7d": "7 dias"
                 }
             },
             "temperature_unit": {
@@ -734,6 +741,9 @@
             "time_remaining": {
                 "name": "Tempo restante"
             },
+            "time_remaining_x": {
+                "name": "Tempo restante {x}"
+            },
             "cooking_status": {
                 "name": "Status de cozimento",
                 "state": {
@@ -819,6 +829,11 @@
                 "name": "Cronômetro {x}"
             }
         },
+        "valve": {
+            "valve_x": {
+                "name": "Válvula {x}"
+            }
+        },
         "water_heater": {
             "water_air": {
                 "name": "Aquecedor de água"

+ 16 - 1
custom_components/tuya_local/translations/pt-PT.json

@@ -595,7 +595,14 @@
                     "24h": "24 horas",
                     "36h": "36 horas",
                     "48h": "48 horas",
-                    "72h": "72 horas"
+                    "72h": "72 horas",
+                    "1d": "1 dia",
+                    "2d": "2 dias",
+                    "3d": "3 dias",
+                    "4d": "4 dias",
+                    "5d": "5 dias",
+                    "6d": "6 dias",
+                    "7d": "7 dias"
                 }
             },
             "temperature_unit": {
@@ -734,6 +741,9 @@
             "time_remaining": {
                 "name": "Tempo restante"
             },
+            "time_remaining_x": {
+                "name": "Tempo restante {x}"
+            },
             "cooking_status": {
                 "name": "Status de cozimento",
                 "state": {
@@ -819,6 +829,11 @@
                 "name": "Cronômetro {x}"
             }
         },
+        "valve": {
+            "valve_x": {
+                "name": "Válvula {x}"
+            }
+        },
         "water_heater": {
             "water_air": {
                 "name": "Aquecedor de água"

+ 16 - 1
custom_components/tuya_local/translations/ru.json

@@ -595,7 +595,14 @@
                     "24h": "24 часа",
                     "36h": "36 часов",
                     "48h": "48 часов",
-                    "72h": "72 часа"
+                    "72h": "72 часа",
+                    "1d": "1 день",
+                    "2d": "2 дня",
+                    "3d": "3 дня",
+                    "4d": "4 дня",
+                    "5d": "5 дней",
+                    "6d": "6 дней",
+                    "7d": "7 дней"
                 }
             },
             "temperature_unit": {
@@ -734,6 +741,9 @@
             "time_remaining": {
                 "name": "Времени осталось"
             },
+            "time_remaining_x": {
+                "name": "Времени осталось {x}"
+            },
             "cooking_status": {
                 "name": "Статус",
                 "state": {
@@ -819,6 +829,11 @@
                 "name": "Таймер {x}"
             }
         },
+        "valve": {
+            "valve_x": {
+                "name": "Клапан {x}"
+            }
+        },
         "water_heater": {
             "water_air": {
                 "name": "Водонагреватель"

+ 16 - 1
custom_components/tuya_local/translations/uk.json

@@ -598,7 +598,14 @@
                     "24h": "24 години",
                     "36h": "36 годин",
                     "48h": "48 годин",
-                    "72h": "72 години"
+                    "72h": "72 години",
+                    "1d": "1 день",
+                    "2d": "2 дні",
+                    "3d": "3 дні",
+                    "4d": "4 дні",
+                    "5d": "5 днів",
+                    "6d": "6 днів",
+                    "7d": "7 днів"
                 }      
             },
             "temperature_unit": {
@@ -737,6 +744,9 @@
             "time_remaining": {
                 "name": "Залишився час"
             },
+            "time_remaining_x": {
+                "name": "Залишився час {x}"
+            },
             "cooking_status": {
                 "name": "Статус",
                 "state": {
@@ -822,6 +832,11 @@
                 "name": "Таймер {x}"
             }
         },
+        "valve": {
+            "valve_x": {
+                "name": "Клапан {x}"
+            }
+        },
         "water_heater": {
             "water_air": {
                 "name": "Водонагрівач"

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

@@ -598,7 +598,14 @@
                     "24h": "24 گھنٹے",
                     "36h": "36 گھنٹے",
                     "48h": "48 گھنٹے",
-                    "72h": "72 گھنٹے"
+                    "72h": "72 گھنٹے",
+                    "1d": "1 دن",
+                    "2d": "2 دن",
+                    "3d": "3 دن",
+                    "4d": "4 دن",
+                    "5d": "5 دن",
+                    "6d": "6 دن",
+                    "7d": "7 دن"
                 }
             },
             "temperature_unit": {
@@ -737,6 +744,9 @@
             "time_remaining": {
                 "name": "بقیہ وقت"
             },
+            "time_remaining_x": {
+                "name": "بقیہ وقت {x}"
+            },
             "cooking_status": {
                 "name": "پکانے کی حالت",
                 "state": {
@@ -822,6 +832,11 @@
                 "name": "ٹائمر {x}"
             }
         },
+        "valve": {
+            "valve_x": {
+                "name": "والو {x}"
+            }
+        },
         "water_heater": {
             "water_air": {
                 "name": "پانی کا ہیٹر"

+ 16 - 1
custom_components/tuya_local/translations/zh-Hans.json

@@ -595,7 +595,14 @@
                     "24h": "24小时",
                     "36h": "36小时",
                     "48h": "48小时",
-                    "72h": "72小时"
+                    "72h": "72小时",
+                    "1d": "1天",
+                    "2d": "2天",
+                    "3d": "3天",
+                    "4d": "4天",
+                    "5d": "5天",
+                    "6d": "6天",
+                    "7d": "7天"
                 }
             },
             "temperature_unit": {
@@ -734,6 +741,9 @@
             "time_remaining": {
                 "name": "剩余时间"
             },
+            "time_remaining_x": {
+                "name": "剩余时间{x}"
+            },
             "cooking_status": {
                 "name": "烹饪状态",
                 "state": {
@@ -819,6 +829,11 @@
                 "name": "计时器{x}"
             }
         },
+        "valve": {
+            "valve_x": {
+                "name": "阀门{x}"
+            }
+        },
         "water_heater": {
             "water_air": {
                 "name": "热水器"

+ 16 - 1
custom_components/tuya_local/translations/zh-Hant.json

@@ -596,7 +596,14 @@
                     "24h": "24小時",
                     "36h": "36小時",
                     "48h": "48小時",
-                    "72h": "72小時"
+                    "72h": "72小時",
+                    "1d": "1天",
+                    "2d": "2天",
+                    "3d": "3天",
+                    "4d": "4天",
+                    "5d": "5天",
+                    "6d": "6天",
+                    "7d": "7天"
                 }
             },
             "temperature_unit": {
@@ -735,6 +742,9 @@
             "time_remaining": {
                 "name": "剩餘時間"
             },
+            "time_remaining_x": {
+                "name": "剩餘時間{x}"
+            },
             "cooking_status": {
                 "name": "狀態",
                 "state": {
@@ -820,6 +830,11 @@
                 "name": "計時器{x}"
             }
         },
+        "valve": {
+            "valve_x": {
+                "name": "閥門{x}"
+            }
+        },
         "water_heater": {
             "water_air": {
                 "name": "熱水器"