Просмотр исходного кода

feat: Update casdon_td_pro_2.yaml to include English translations for cooking modes fault_message Status

Jianyun 1 год назад
Родитель
Сommit
5c8fffead9
1 измененных файлов с 37 добавлено и 37 удалено
  1. 37 37
      custom_components/tuya_local/devices/casdon_td_pro_2.yaml

+ 37 - 37
custom_components/tuya_local/devices/casdon_td_pro_2.yaml

@@ -30,51 +30,51 @@ primary_entity:
       type: string
       mapping:
         - dps_val: "1"
-          value: 健康蒸
+          value: Healthy Steam
         - dps_val: "2"
-          value: 鲜嫩蒸
+          value: Fresh Steam
         - dps_val: "3"
-          value: 高温蒸
+          value: High Temp Steam
         - dps_val: "4"
-          value: 养生炖
+          value: Stew
         - dps_val: "5"
-          value: 上下烤
+          value: Bake up and down
         - dps_val: "6"
-          value: 立体烧烤
+          value: BBQ
         - dps_val: "7"
-          value: 底部热风
+          value: Bottom Hot Air
         - dps_val: "8"
-          value: 上强烤
+          value: On Strong Roast
         - dps_val: "9"
-          value: 3D热风
+          value: 3D Hot Air
         - dps_val: "10"
-          value: 空气炸
+          value: Air Fry
         - dps_val: "11"
-          value: 蒸汽炸
+          value: Steam Frying
         - dps_val: "12"
-          value: 一键面包
+          value: One-click Bread
         - dps_val: "13"
-          value: 速热
+          value: Quick Heat
         - dps_val: "14"
-          value: 保温
+          value: Keep Warm
         - dps_val: "15"
-          value: 解冻
+          value: Unfreeze
         - dps_val: "16"
-          value: 发酵
+          value: Fermentation
         - dps_val: "17"
-          value: 除垢
+          value: Descale
         - dps_val: "18"
-          value: 菜谱模式
+          value: Local Recipes
         - dps_val: "19"
-          value: 内腔烘干
+          value: Drying
         - dps_val: "20"
-          value: 自定义模式
+          value: Custom
         - dps_val: "21"
-          value: 低湿蒸烤
+          value: Low Steaming
         - dps_val: "22"
-          value: 中湿蒸烤
+          value: Medium Steaming
         - dps_val: "23"
-          value: 高湿蒸烤
+          value: High Steaming
     - id: 102
       type: string
       name: hvac_action
@@ -162,21 +162,21 @@ secondary_entities:
           - dps_val: 0
             value: OK
           - dps_val: 1
-            value: "er1:腔体高温保护(腔体传感器温度高于290°C)"
+            value: "er1: Chamber Overheat Protection (Sensor temperature exceeds 290°C)"
           - dps_val: 2
-            value: "er2:蒸发盘高温保护(蒸发盘传感器温度高于200°C)"
+            value: "er2: Evaporation Tray Overheat Protection (Sensor temperature exceeds 200°C)"
           - dps_val: 4
-            value: "er3:腔体低温保护(连续工作5分钟温度低于35°C)"
+            value: "er3: Chamber Low Temperature Protection (Temperature remains below 35°C for 5 minutes)"
           - dps_val: 8
-            value: "er4:蒸发盘低温保护(连续工作5分钟温度低于35°C)"
+            value: "er4: Evaporation Tray Low Temperature Protection (Temperature remains below 35°C for 5 minutes)"
           - dps_val: 16
-            value: "er5:传感器连接出故障(腔体或蒸发盘传感器开路)"
+            value: "er5: Sensor Connection Error (Open circuit in chamber or evaporation tray sensor)"
           - dps_val: 32
-            value: "er6:传感器感应出故障(腔体或蒸发盘传感器短路)"
+            value: "er6: Sensor Malfunction (Short circuit in chamber or evaporation tray sensor)"
           - dps_val: 64
-            value: "er7:显示板通信故障"
+            value: "er7: Display Board Communication Error"
           - dps_val: 128
-            value: "er8:水箱开关(CN7)未闭合或者蒸发盘NTC(CN3)温度高于125℃并持续时间达25s后,缺水提示,并停止工作。"
+            value: "er8: Water Tank Switch (CN7) Not Closed or Evaporation Tray NTC (CN3) Exceeds 125°C for 25 Seconds, Triggering Water Shortage Alert and Stopping Operation"
 
   - entity: sensor
     name: Status
@@ -188,17 +188,17 @@ secondary_entities:
         readonly: true
         mapping:
           - dps_val: wait
-            value: 烹饪等待
+            value: Waiting for Cooking
           - dps_val: reservation
-            value: 预约中
+            value: In Reservation
           - dps_val: cooking
-            value: 烹饪中
+            value: In Progress
           - dps_val: cancel
-            value: 烹饪取消
+            value: Cooking Canceled
           - dps_val: done
-            value: 烹饪完成
+            value: Cooking Completed
           - dps_val: pause
-            value: 烹饪暂停
+            value: Cooking Paused
   - entity: light
     icon: "mdi:lightbulb-on"
     dps: