Browse Source

feat (translations): add meal plan translation

Issue #1708
Jason Rumney 6 days ago
parent
commit
85d6dcd733
50 changed files with 98 additions and 40 deletions
  1. 1 2
      custom_components/tuya_local/devices/advwin_6l_petfeeder.yaml
  2. 1 1
      custom_components/tuya_local/devices/arlec_5l_petfeeder.yaml
  3. 1 1
      custom_components/tuya_local/devices/catit_pixi_6meal_feeder.yaml
  4. 1 1
      custom_components/tuya_local/devices/catit_pixi_smart_feeder.yaml
  5. 1 1
      custom_components/tuya_local/devices/cleverio_pf100_petfeeder.yaml
  6. 1 2
      custom_components/tuya_local/devices/dxophiex_fishfeeder.yaml
  7. 1 2
      custom_components/tuya_local/devices/frienhund_acf180wa_dualfeeder.yaml
  8. 1 2
      custom_components/tuya_local/devices/happyllama_socool_petfeeder.yaml
  9. 1 1
      custom_components/tuya_local/devices/honeyguardian_s56_petfeeder.yaml
  10. 1 1
      custom_components/tuya_local/devices/ipettie_w5_petfeeder.yaml
  11. 1 2
      custom_components/tuya_local/devices/lscsmartconnect_camerapetfeeder.yaml
  12. 1 2
      custom_components/tuya_local/devices/meowmatic_petfeeder.yaml
  13. 1 2
      custom_components/tuya_local/devices/molypet_f02w_petfeeder.yaml
  14. 1 1
      custom_components/tuya_local/devices/newpet_feeder.yaml
  15. 1 2
      custom_components/tuya_local/devices/oneisall_pfd002pro_petfeeder.yaml
  16. 1 2
      custom_components/tuya_local/devices/pawspik_microchip_petfeeder.yaml
  17. 1 1
      custom_components/tuya_local/devices/petlibro_PLAF103_feeder.yaml
  18. 1 2
      custom_components/tuya_local/devices/petory_f03w_petfeeder.yaml
  19. 1 2
      custom_components/tuya_local/devices/petwant_f13w_petfeeder.yaml
  20. 1 1
      custom_components/tuya_local/devices/puppy_kitty_pet_feeder.yaml
  21. 1 1
      custom_components/tuya_local/devices/puppy_kitty_pet_feeder_f14w.yaml
  22. 1 2
      custom_components/tuya_local/devices/repetsun_petfeeder.yaml
  23. 1 1
      custom_components/tuya_local/devices/welltobe_cat_feeder.yaml
  24. 1 2
      custom_components/tuya_local/devices/xtuos_2x_petfeeder.yaml
  25. 1 1
      custom_components/tuya_local/devices/yp_petfeeeder.yaml
  26. 1 2
      custom_components/tuya_local/devices/yuposl_petfeeder.yaml
  27. 3 0
      custom_components/tuya_local/icons.json
  28. 3 0
      custom_components/tuya_local/translations/bg.json
  29. 3 0
      custom_components/tuya_local/translations/ca.json
  30. 3 0
      custom_components/tuya_local/translations/cz.json
  31. 3 0
      custom_components/tuya_local/translations/de.json
  32. 3 0
      custom_components/tuya_local/translations/el.json
  33. 3 0
      custom_components/tuya_local/translations/en.json
  34. 3 0
      custom_components/tuya_local/translations/es.json
  35. 3 0
      custom_components/tuya_local/translations/fr.json
  36. 3 0
      custom_components/tuya_local/translations/hu.json
  37. 3 0
      custom_components/tuya_local/translations/id.json
  38. 3 0
      custom_components/tuya_local/translations/it.json
  39. 3 0
      custom_components/tuya_local/translations/ja.json
  40. 3 0
      custom_components/tuya_local/translations/no-NB.json
  41. 3 0
      custom_components/tuya_local/translations/pl.json
  42. 3 0
      custom_components/tuya_local/translations/pt-BR.json
  43. 3 0
      custom_components/tuya_local/translations/pt-PT.json
  44. 3 0
      custom_components/tuya_local/translations/ro.json
  45. 3 0
      custom_components/tuya_local/translations/ru.json
  46. 3 0
      custom_components/tuya_local/translations/sv.json
  47. 3 0
      custom_components/tuya_local/translations/uk.json
  48. 3 0
      custom_components/tuya_local/translations/ur.json
  49. 3 0
      custom_components/tuya_local/translations/zh-Hans.json
  50. 3 0
      custom_components/tuya_local/translations/zh-Hant.json

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

@@ -155,9 +155,8 @@ entities:
           - dps_val: "0"
           - dps_val: "0"
             value: true
             value: true
   - entity: text
   - entity: text
-    name: Meal plan
+    translation_key: meal_plan
     category: config
     category: config
-    icon: "mdi:calendar-clock"
     hidden: true
     hidden: true
     dps:
     dps:
       - id: 236
       - id: 236

+ 1 - 1
custom_components/tuya_local/devices/arlec_5l_petfeeder.yaml

@@ -15,7 +15,7 @@ entities:
           min: 1
           min: 1
           max: 12
           max: 12
   - entity: text
   - entity: text
-    name: Meal plan
+    translation_key: meal_plan
     category: config
     category: config
     hidden: true
     hidden: true
     dps:
     dps:

+ 1 - 1
custom_components/tuya_local/devices/catit_pixi_6meal_feeder.yaml

@@ -13,7 +13,7 @@ entities:
         name: button
         name: button
         optional: true
         optional: true
   - entity: text
   - entity: text
-    name: Meal plan
+    translation_key: meal_plan
     category: config
     category: config
     hidden: true
     hidden: true
     dps:
     dps:

+ 1 - 1
custom_components/tuya_local/devices/catit_pixi_smart_feeder.yaml

@@ -22,7 +22,7 @@ entities:
         name: button
         name: button
         optional: true
         optional: true
   - entity: text
   - entity: text
-    name: Meal plan
+    translation_key: meal_plan
     category: config
     category: config
     hidden: true
     hidden: true
     dps:
     dps:

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

@@ -26,7 +26,7 @@ entities:
           - dps_val: eco_mode
           - dps_val: eco_mode
             value: true
             value: true
   - entity: text
   - entity: text
-    name: Meal plan
+    translation_key: meal_plan
     category: config
     category: config
     hidden: true
     hidden: true
     dps:
     dps:

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

@@ -5,9 +5,8 @@ products:
     model: AF2020WIFI
     model: AF2020WIFI
 entities:
 entities:
   - entity: text
   - entity: text
-    name: Meal plan
+    translation_key: meal_plan
     category: config
     category: config
-    icon: "mdi:calendar-clock"
     hidden: true
     hidden: true
     dps:
     dps:
       - id: 1
       - id: 1

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

@@ -250,9 +250,8 @@ entities:
         type: bitfield
         type: bitfield
         name: fault_code
         name: fault_code
   - entity: text
   - entity: text
-    name: Meal plan
+    translation_key: meal_plan
     category: config
     category: config
-    icon: "mdi:food-drumstick"
     hidden: true
     hidden: true
     dps:
     dps:
       - id: 223
       - id: 223

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

@@ -5,9 +5,8 @@ products:
     model: SoCool
     model: SoCool
 entities:
 entities:
   - entity: text
   - entity: text
-    name: Meal plan
+    translation_key: meal_plan
     category: config
     category: config
-    icon: "mdi:calendar-clock"
     hidden: true
     hidden: true
     dps:
     dps:
       - id: 1
       - id: 1

+ 1 - 1
custom_components/tuya_local/devices/honeyguardian_s56_petfeeder.yaml

@@ -15,7 +15,7 @@ entities:
           max: 6
           max: 6
 
 
   - entity: text
   - entity: text
-    name: Meal plan
+    translation_key: meal_plan
     category: config
     category: config
     hidden: true
     hidden: true
     dps:
     dps:

+ 1 - 1
custom_components/tuya_local/devices/ipettie_w5_petfeeder.yaml

@@ -16,7 +16,7 @@ entities:
           min: 1
           min: 1
           max: 12
           max: 12
   - entity: text
   - entity: text
-    name: Meal plan
+    translation_key: meal_plan
     category: config
     category: config
     hidden: true
     hidden: true
     dps:
     dps:

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

@@ -201,9 +201,8 @@ entities:
           - dps_val: "0"
           - dps_val: "0"
             value: true
             value: true
   - entity: text
   - entity: text
-    name: Meal plan
+    translation_key: meal_plan
     category: config
     category: config
-    icon: "mdi:calendar-clock"
     hidden: true
     hidden: true
     dps:
     dps:
       - id: 236
       - id: 236

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

@@ -4,9 +4,8 @@ products:
     manufacturer: Meowmatic
     manufacturer: Meowmatic
 entities:
 entities:
   - entity: text
   - entity: text
-    name: Meal plan
+    translation_key: meal_plan
     category: config
     category: config
-    icon: "mdi:calendar-clock"
     hidden: true
     hidden: true
     dps:
     dps:
       - id: 1
       - id: 1

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

@@ -5,9 +5,8 @@ products:
     model: F02W
     model: F02W
 entities:
 entities:
   - entity: text
   - entity: text
-    name: Meal plan
+    translation_key: meal_plan
     category: config
     category: config
-    icon: "mdi:calendar-clock"
     hidden: true
     hidden: true
     dps:
     dps:
       - id: 1
       - id: 1

+ 1 - 1
custom_components/tuya_local/devices/newpet_feeder.yaml

@@ -5,7 +5,7 @@ products:
     model: DR Feeder
     model: DR Feeder
 entities:
 entities:
   - entity: text
   - entity: text
-    name: Meal plan
+    translation_key: meal_plan
     category: config
     category: config
     hidden: true
     hidden: true
     dps:
     dps:

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

@@ -5,9 +5,8 @@ products:
     model: PF-002 Pro IR
     model: PF-002 Pro IR
 entities:
 entities:
   - entity: text
   - entity: text
-    name: Meal plan
+    translation_key: meal_plan
     category: config
     category: config
-    icon: "mdi:paw"
     hidden: true
     hidden: true
     dps:
     dps:
       - id: 1
       - id: 1

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

@@ -134,9 +134,8 @@ entities:
             value: Slow
             value: Slow
 
 
   - entity: text
   - entity: text
-    name: Meal plan
+    translation_key: meal_plan
     category: config
     category: config
-    icon: "mdi:food-drumstick"
     hidden: true
     hidden: true
     dps:
     dps:
       - id: 1
       - id: 1

+ 1 - 1
custom_components/tuya_local/devices/petlibro_PLAF103_feeder.yaml

@@ -29,7 +29,7 @@ entities:
           - dps_val: feed_end
           - dps_val: feed_end
             value: feeding_complete
             value: feeding_complete
   - entity: text
   - entity: text
-    name: Meal plan
+    translation_key: meal_plan
     category: config
     category: config
     hidden: true
     hidden: true
     dps:
     dps:

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

@@ -5,9 +5,8 @@ products:
     model: F03W
     model: F03W
 entities:
 entities:
   - entity: text
   - entity: text
-    name: Meal plan
+    translation_key: meal_plan
     category: config
     category: config
-    icon: "mdi:food-drumstick"
     hidden: true
     hidden: true
     dps:
     dps:
       - id: 1
       - id: 1

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

@@ -60,9 +60,8 @@ entities:
           min: 1
           min: 1
           max: 5
           max: 5
   - entity: text
   - entity: text
-    name: Meal plan
+    translation_key: meal_plan
     category: config
     category: config
-    icon: "mdi:paw"
     hidden: true
     hidden: true
     dps:
     dps:
       - id: 108
       - id: 108

+ 1 - 1
custom_components/tuya_local/devices/puppy_kitty_pet_feeder.yaml

@@ -12,7 +12,7 @@ entities:
         type: boolean
         type: boolean
         name: switch
         name: switch
   - entity: text
   - entity: text
-    name: Meal plan
+    translation_key: meal_plan
     category: config
     category: config
     hidden: true
     hidden: true
     dps:
     dps:

+ 1 - 1
custom_components/tuya_local/devices/puppy_kitty_pet_feeder_f14w.yaml

@@ -51,7 +51,7 @@ entities:
         type: integer
         type: integer
         unit: "mV"
         unit: "mV"
   - entity: text
   - entity: text
-    name: Meal plan
+    translation_key: meal_plan
     category: config
     category: config
     hidden: true
     hidden: true
     dps:
     dps:

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

@@ -5,9 +5,8 @@ products:
     model: 5L double bowl
     model: 5L double bowl
 entities:
 entities:
   - entity: text
   - entity: text
-    name: Meal plan
+    translation_key: meal_plan
     category: config
     category: config
-    icon: "mdi:food-drumstick"
     hidden: true
     hidden: true
     dps:
     dps:
       - id: 1
       - id: 1

+ 1 - 1
custom_components/tuya_local/devices/welltobe_cat_feeder.yaml

@@ -16,7 +16,7 @@ entities:
           min: 1
           min: 1
           max: 6
           max: 6
   - entity: text
   - entity: text
-    name: Meal plan
+    translation_key: meal_plan
     hidden: true
     hidden: true
     category: config
     category: config
     dps:
     dps:

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

@@ -5,9 +5,8 @@ products:
     model: 2&PFA0004
     model: 2&PFA0004
 entities:
 entities:
   - entity: text
   - entity: text
-    name: Meal plan
+    translation_key: meal_plan
     category: config
     category: config
-    icon: "mdi:food-drumstick"
     hidden: true
     hidden: true
     dps:
     dps:
       - id: 1
       - id: 1

+ 1 - 1
custom_components/tuya_local/devices/yp_petfeeeder.yaml

@@ -14,7 +14,7 @@ entities:
           min: 1
           min: 1
           max: 40
           max: 40
   - entity: text
   - entity: text
-    name: Meal plan
+    translation_key: meal_plan
     category: config
     category: config
     hidden: true
     hidden: true
     dps:
     dps:

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

@@ -5,9 +5,8 @@ products:
     model: Dual band
     model: Dual band
 entities:
 entities:
   - entity: text
   - entity: text
-    name: Meal plan
+    translation_key: meal_plan
     category: config
     category: config
-    icon: "mdi:food-drumstick"
     hidden: true
     hidden: true
     dps:
     dps:
       - id: 1
       - id: 1

+ 3 - 0
custom_components/tuya_local/icons.json

@@ -729,6 +729,9 @@
             }
             }
         },
         },
         "text": {
         "text": {
+            "meal_plan": {
+                "default": "mdi:calendar-clock"
+            },
             "scene": {
             "scene": {
                 "default": "mdi:palette"
                 "default": "mdi:palette"
             },
             },

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

@@ -1224,6 +1224,9 @@
             }
             }
         },
         },
         "text": {
         "text": {
+            "meal_plan": {
+                "name": "План питания"
+            },
             "scene": {
             "scene": {
                 "name": "Сцена"
                 "name": "Сцена"
             },
             },

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

@@ -1223,6 +1223,9 @@
             }
             }
         },
         },
         "text": {
         "text": {
+            "meal_plan": {
+                "name": "Plan de comidas"
+            },
             "scene": {
             "scene": {
                 "name": "Escena"
                 "name": "Escena"
             },
             },

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

@@ -1223,6 +1223,9 @@
             }
             }
         },
         },
         "text": {
         "text": {
+            "meal_plan": {
+                "name": "Jídelní plán"
+            },
             "scene": {
             "scene": {
                 "name": "Scéna"
                 "name": "Scéna"
             },
             },

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

@@ -1223,6 +1223,9 @@
             }
             }
         },
         },
         "text": {
         "text": {
+            "meal_plan": {
+                "name": "Essensplan"
+            },
             "scene": {
             "scene": {
                 "name": "Szene"
                 "name": "Szene"
             },
             },

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

@@ -1223,6 +1223,9 @@
             }
             }
         },
         },
         "text": {
         "text": {
+            "meal_plan": {
+                "name": "Γεύμα"
+            },
             "scene": {
             "scene": {
                 "name": "Σκηνή"
                 "name": "Σκηνή"
             },
             },

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

@@ -1223,6 +1223,9 @@
             }
             }
         },
         },
         "text": {
         "text": {
+            "meal_plan": {
+                "name": "Meal plan"
+            },
             "scene": {
             "scene": {
                 "name": "Scene"
                 "name": "Scene"
             },
             },

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

@@ -1223,6 +1223,9 @@
             }
             }
         },
         },
         "text": {
         "text": {
+            "meal_plan": {
+                "name": "Plan de comidas"
+            },
             "scene": {
             "scene": {
                 "name": "Escena"
                 "name": "Escena"
             },
             },

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

@@ -1223,6 +1223,9 @@
             }
             }
         },
         },
         "text": {
         "text": {
+            "meal_plan": {
+                "name": "Plan de repas"
+            },
             "scene": {
             "scene": {
                 "name": "Scène"
                 "name": "Scène"
             },
             },

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

@@ -1223,6 +1223,9 @@
             }
             }
         },
         },
         "text": {
         "text": {
+            "meal_plan": {
+                "name": "Étterem terv"
+            },
             "scene": {
             "scene": {
                 "name": "Jelenet"
                 "name": "Jelenet"
             },
             },

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

@@ -1223,6 +1223,9 @@
             }
             }
         },
         },
         "text": {
         "text": {
+            "meal_plan": {
+                "name": "Rencana makan"
+            },
             "scene": {
             "scene": {
                 "name": "Adegan"
                 "name": "Adegan"
             },
             },

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

@@ -1223,6 +1223,9 @@
             }
             }
         },
         },
         "text": {
         "text": {
+            "meal_plan": {
+                "name": "Piano dei pasti"
+            },
             "scene": {
             "scene": {
                 "name": "Scena"
                 "name": "Scena"
             },
             },

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

@@ -1223,6 +1223,9 @@
             }
             }
         },
         },
         "text": {
         "text": {
+            "meal_plan": {
+                "name": "食事プラン"
+            },
             "scene": {
             "scene": {
                 "name": "シーン"
                 "name": "シーン"
             },
             },

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

@@ -1223,6 +1223,9 @@
             }
             }
         },
         },
         "text": {
         "text": {
+            "meal_plan": {
+                "name": "Måltidsplan"
+            },
             "scene": {
             "scene": {
                 "name": "Scene"
                 "name": "Scene"
             },
             },

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

@@ -1223,6 +1223,9 @@
             }
             }
         },
         },
         "text": {
         "text": {
+            "meal_plan": {
+                "name": "Plan posiłków"
+            },
             "scene": {
             "scene": {
                 "name": "Scena"
                 "name": "Scena"
             },
             },

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

@@ -1223,6 +1223,9 @@
             }
             }
         },
         },
         "text": {
         "text": {
+            "meal_plan": {
+                "name": "Plano de refeição"
+            },
             "scene": {
             "scene": {
                 "name": "Cena"
                 "name": "Cena"
             },
             },

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

@@ -1223,6 +1223,9 @@
             }
             }
         },
         },
         "text": {
         "text": {
+            "meal_plan": {
+                "name": "Plano de refeições"
+            },
             "scene": {
             "scene": {
                 "name": "Cena"
                 "name": "Cena"
             },
             },

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

@@ -1223,6 +1223,9 @@
             }
             }
         },
         },
         "text": {
         "text": {
+            "meal_plan": {
+                "name": "Plan de masă"
+            },
             "scene": {
             "scene": {
                 "name": "Scenă"
                 "name": "Scenă"
             },
             },

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

@@ -1223,6 +1223,9 @@
             }
             }
         },
         },
         "text": {
         "text": {
+            "meal_plan": {
+                "name": "План питания"
+            },
             "scene": {
             "scene": {
                 "name": "Сцена"
                 "name": "Сцена"
             },
             },

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

@@ -1223,6 +1223,9 @@
             }
             }
         },
         },
         "text": {
         "text": {
+            "meal_plan": {
+                "name": "Måltidsplan"
+            },
             "scene": {
             "scene": {
                 "name": "Scen"
                 "name": "Scen"
             },
             },

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

@@ -1223,6 +1223,9 @@
             }
             }
         },
         },
         "text": {
         "text": {
+            "meal_plan": {
+                "name": "План питания"
+            },
             "scene": {
             "scene": {
                 "name": "Сцена"
                 "name": "Сцена"
             },
             },

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

@@ -1224,6 +1224,9 @@
             }
             }
         },
         },
         "text": {
         "text": {
+            "meal_plan": {
+                "name": "کھانے کا منصوبہ"
+            },
             "scene": {
             "scene": {
                 "name": "منظر"
                 "name": "منظر"
             },
             },

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

@@ -1223,6 +1223,9 @@
             }
             }
         },
         },
         "text": {
         "text": {
+            "meal_plan": {
+                "name": "餐单"
+            },
             "scene": {
             "scene": {
                 "name": "场景"
                 "name": "场景"
             },
             },

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

@@ -1223,6 +1223,9 @@
             }
             }
         },
         },
         "text": {
         "text": {
+            "meal_plan": {
+                "name": "餐點計畫"
+            },
             "scene": {
             "scene": {
                 "name": "場景"
                 "name": "場景"
             },
             },