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

number/select Timer: Move name and icon to translations

Issue #1579
Jason Rumney 1 год назад
Родитель
Сommit
cddef4dee9
100 измененных файлов с 119 добавлено и 213 удалено
  1. 1 2
      custom_components/tuya_local/devices/AlecoAir_D25_Traditio.yaml
  2. 1 2
      custom_components/tuya_local/devices/alecoair_d14_dehumidifier.yaml
  3. 1 2
      custom_components/tuya_local/devices/alecoair_d16_dehumidifier.yaml
  4. 1 2
      custom_components/tuya_local/devices/anko_fan.yaml
  5. 1 2
      custom_components/tuya_local/devices/ard100_valve.yaml
  6. 1 2
      custom_components/tuya_local/devices/arlec_12speed_tower_fan.yaml
  7. 1 2
      custom_components/tuya_local/devices/arlec_19speed_fan.yaml
  8. 1 2
      custom_components/tuya_local/devices/arlec_6speed_fan.yaml
  9. 1 2
      custom_components/tuya_local/devices/arlec_fan.yaml
  10. 1 2
      custom_components/tuya_local/devices/arlec_fan_light.yaml
  11. 1 2
      custom_components/tuya_local/devices/arlec_pa1123bkha_portable_air_conditioner.yaml
  12. 1 2
      custom_components/tuya_local/devices/arlec_panel_heater.yaml
  13. 1 2
      custom_components/tuya_local/devices/arlec_panel_heater_v2.yaml
  14. 4 4
      custom_components/tuya_local/devices/arlec_pb88uha_s2_switch.yaml
  15. 1 2
      custom_components/tuya_local/devices/arlec_thermostat_smartplug.yaml
  16. 1 3
      custom_components/tuya_local/devices/atomi_ceramic_heater.yaml
  17. 1 2
      custom_components/tuya_local/devices/atorch_at2pl_breaker.yaml
  18. 1 2
      custom_components/tuya_local/devices/aubess_1gang_switch.yaml
  19. 2 2
      custom_components/tuya_local/devices/aubess_2gang_switch.yaml
  20. 1 3
      custom_components/tuya_local/devices/avatto_roller_blinds.yaml
  21. 1 3
      custom_components/tuya_local/devices/betterlife_bl1500_heater.yaml
  22. 1 2
      custom_components/tuya_local/devices/ble_hct611_watertimer.yaml
  23. 1 2
      custom_components/tuya_local/devices/ble_solar_light.yaml
  24. 1 2
      custom_components/tuya_local/devices/blitzwolf_bwsh2_humidifier.yaml
  25. 1 2
      custom_components/tuya_local/devices/blitzwolf_bwsh5_humidifier.yaml
  26. 1 2
      custom_components/tuya_local/devices/blitzwolf_bwshp6_smartplug.yaml
  27. 1 2
      custom_components/tuya_local/devices/blumfeldt_cosmicbeam_heater.yaml
  28. 1 2
      custom_components/tuya_local/devices/breville_airdynamic3d_fan.yaml
  29. 1 2
      custom_components/tuya_local/devices/breville_easyair_purifier.yaml
  30. 1 3
      custom_components/tuya_local/devices/breville_lad208_dehumidifier.yaml
  31. 1 3
      custom_components/tuya_local/devices/breville_smart_air_viral_protect_plus.yaml
  32. 1 2
      custom_components/tuya_local/devices/breville_smartairconnect_purifier.yaml
  33. 2 2
      custom_components/tuya_local/devices/brilliant_double_switch.yaml
  34. 4 4
      custom_components/tuya_local/devices/brilliant_quad_switch.yaml
  35. 1 2
      custom_components/tuya_local/devices/brilliant_single_switch.yaml
  36. 3 3
      custom_components/tuya_local/devices/brilliant_triple_switch.yaml
  37. 1 2
      custom_components/tuya_local/devices/bvf_cp1_heater.yaml
  38. 1 2
      custom_components/tuya_local/devices/cadence_aroma_diffuser.yaml
  39. 1 2
      custom_components/tuya_local/devices/calex_convector_heater.yaml
  40. 1 2
      custom_components/tuya_local/devices/carro_ph805_humidifier.yaml
  41. 1 2
      custom_components/tuya_local/devices/carson_cb.yaml
  42. 1 2
      custom_components/tuya_local/devices/casafan_ceiling_fan_light.yaml
  43. 1 2
      custom_components/tuya_local/devices/cbi_astute_outdoor_smartswitch.yaml
  44. 1 2
      custom_components/tuya_local/devices/cct_lightbulb.yaml
  45. 1 2
      custom_components/tuya_local/devices/cleanair_604b_humidifier.yaml
  46. 1 1
      custom_components/tuya_local/devices/cleanair_605b_humidifier.yaml
  47. 1 2
      custom_components/tuya_local/devices/comon_lights.yaml
  48. 1 2
      custom_components/tuya_local/devices/deta_dimmer_switch.yaml
  49. 1 2
      custom_components/tuya_local/devices/devola_patio_heater.yaml
  50. 2 2
      custom_components/tuya_local/devices/digoo_dgsp202.yaml
  51. 1 2
      custom_components/tuya_local/devices/dimming_1ch_switch.yaml
  52. 1 2
      custom_components/tuya_local/devices/dimming_lightbulb.yaml
  53. 1 2
      custom_components/tuya_local/devices/ditua_dt1522yn_aromadiffuser.yaml
  54. 1 2
      custom_components/tuya_local/devices/dreamlight_led_strip.yaml
  55. 2 2
      custom_components/tuya_local/devices/dual_power_monitor_smartplug.yaml
  56. 2 2
      custom_components/tuya_local/devices/dual_power_monitor_smartplugv2.yaml
  57. 1 2
      custom_components/tuya_local/devices/duux_blizzard_portable_aircon.yaml
  58. 1 2
      custom_components/tuya_local/devices/duux_whisper_fan.yaml
  59. 1 2
      custom_components/tuya_local/devices/dynasty_btx_fireplace.yaml
  60. 1 3
      custom_components/tuya_local/devices/eanons_humidifier.yaml
  61. 1 2
      custom_components/tuya_local/devices/ebac_dj4000_dehumidifier.yaml
  62. 1 2
      custom_components/tuya_local/devices/eberg_qubo_q40hd_heatpump.yaml
  63. 1 1
      custom_components/tuya_local/devices/ecostrad_accentiq_heater.yaml
  64. 1 2
      custom_components/tuya_local/devices/eeese_anna_dehumidifier.yaml
  65. 1 2
      custom_components/tuya_local/devices/eeese_carl_dehumidifier.yaml
  66. 1 2
      custom_components/tuya_local/devices/eeese_otto_dehumidifier.yaml
  67. 1 2
      custom_components/tuya_local/devices/eesee_adam_dehumidifier.yaml
  68. 1 2
      custom_components/tuya_local/devices/electric_panel_heater.yaml
  69. 1 2
      custom_components/tuya_local/devices/electriq_ecosilent14hpw_aircon.yaml
  70. 3 3
      custom_components/tuya_local/devices/es01_powerstrip.yaml
  71. 1 3
      custom_components/tuya_local/devices/essentials_purifier.yaml
  72. 1 2
      custom_components/tuya_local/devices/etersky_aroma_diffuser.yaml
  73. 1 2
      custom_components/tuya_local/devices/fanco_ecosilentdeluxe.yaml
  74. 1 1
      custom_components/tuya_local/devices/galaxy_projector_light.yaml
  75. 1 2
      custom_components/tuya_local/devices/garza_irrigation_system.yaml
  76. 1 2
      custom_components/tuya_local/devices/goldair_101cm_tower_fan.yaml
  77. 1 2
      custom_components/tuya_local/devices/goldair_dehumidifier.yaml
  78. 1 2
      custom_components/tuya_local/devices/goldair_geco_heater.yaml
  79. 1 2
      custom_components/tuya_local/devices/goldair_gpcv_heater.yaml
  80. 1 2
      custom_components/tuya_local/devices/goldair_gpph_heater.yaml
  81. 1 2
      custom_components/tuya_local/devices/goldair_platinum_tower_fan.yaml
  82. 4 4
      custom_components/tuya_local/devices/gosund_usb_triple_powerstrip.yaml
  83. 1 2
      custom_components/tuya_local/devices/greenmigo_alpha_q25_pro_wifi.yaml
  84. 2 2
      custom_components/tuya_local/devices/grid_connect_usb_double_power_point.yaml
  85. 1 2
      custom_components/tuya_local/devices/hdmi_sync_light.yaml
  86. 1 2
      custom_components/tuya_local/devices/herschel_irheater.yaml
  87. 1 2
      custom_components/tuya_local/devices/himox_h05_purifier.yaml
  88. 1 3
      custom_components/tuya_local/devices/himox_h06_purifier.yaml
  89. 1 2
      custom_components/tuya_local/devices/hiper_bladeless_fan.yaml
  90. 1 2
      custom_components/tuya_local/devices/hjz_radiator.yaml
  91. 1 2
      custom_components/tuya_local/devices/holman_wx1_taptimer.yaml
  92. 1 1
      custom_components/tuya_local/devices/hyd_weair_plus_fan.yaml
  93. 1 2
      custom_components/tuya_local/devices/ih001_led_controller.yaml
  94. 1 3
      custom_components/tuya_local/devices/inventor_atmospherexl_dehumidifier.yaml
  95. 1 2
      custom_components/tuya_local/devices/jjpro_jpd01_dehumidifier.yaml
  96. 1 2
      custom_components/tuya_local/devices/juskys_oh125bw2_radiator.yaml
  97. 1 2
      custom_components/tuya_local/devices/kennedy_fireplace.yaml
  98. 1 2
      custom_components/tuya_local/devices/keyun_rgb_ceilingfan.yaml
  99. 1 2
      custom_components/tuya_local/devices/klarstein_wonderwall_air.yaml
  100. 1 2
      custom_components/tuya_local/devices/klarstein_wonderwall_irheater.yaml

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

@@ -99,8 +99,7 @@ secondary_entities:
         type: boolean
         name: lock
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 17

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

@@ -114,8 +114,7 @@ secondary_entities:
         type: boolean
         name: lock
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 17

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

@@ -141,8 +141,7 @@ secondary_entities:
         type: boolean
         name: lock
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 17

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

@@ -49,8 +49,7 @@ primary_entity:
       name: timer
 secondary_entities:
   - entity: number
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 6

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

@@ -11,8 +11,7 @@ primary_entity:
       name: switch
 secondary_entities:
   - entity: number
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 7

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

@@ -54,8 +54,7 @@ primary_entity:
       name: fault_code
 secondary_entities:
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 6

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

@@ -33,9 +33,8 @@ primary_entity:
       type: bitfield
 secondary_entities:
   - entity: number
-    name: Timer
+    translation_key: timer
     category: config
-    icon: "mdi:timer"
     dps:
       - id: 22
         type: integer

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

@@ -66,8 +66,7 @@ secondary_entities:
             value: false
           - value: true
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 6

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

@@ -30,8 +30,7 @@ primary_entity:
       type: string
 secondary_entities:
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 103

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

@@ -50,8 +50,7 @@ secondary_entities:
               min: 2700
               max: 6500
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 103

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

@@ -103,9 +103,8 @@ primary_entity:
       optional: true
 secondary_entities:
   - entity: number
-    name: Timer
+    translation_key: timer
     category: config
-    icon: "mdi:timer"
     dps:
       - id: 105
         type: integer

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

@@ -60,9 +60,8 @@ secondary_entities:
         optional: true
         name: alternate
   - entity: number
-    name: Timer
+    translation_key: timer
     category: config
-    icon: "mdi:timer"
     dps:
       - id: 10
         type: integer

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

@@ -46,9 +46,8 @@ secondary_entities:
         type: boolean
         name: lock
   - entity: number
-    name: Timer
+    translation_key: timer
     category: config
-    icon: "mdi:timer"
     dps:
       - id: 19
         type: string

+ 4 - 4
custom_components/tuya_local/devices/arlec_pb88uha_s2_switch.yaml

@@ -34,8 +34,8 @@ secondary_entities:
         name: switch
   - entity: number
     category: config
+    translation_key: timer
     name: Timer switch 1
-    icon: "mdi:timer"
     dps:
       - id: 9
         name: value
@@ -50,7 +50,7 @@ secondary_entities:
   - entity: number
     category: config
     name: Timer switch 2
-    icon: "mdi:timer"
+    translation_key: timer
     dps:
       - id: 10
         name: value
@@ -65,7 +65,7 @@ secondary_entities:
   - entity: number
     category: config
     name: Timer switch 3
-    icon: "mdi:timer"
+    translation_key: timer
     dps:
       - id: 11
         name: value
@@ -80,7 +80,7 @@ secondary_entities:
   - entity: number
     category: config
     name: Timer switch 4
-    icon: "mdi:timer"
+    translation_key: timer
     dps:
       - id: 12
         name: value

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

@@ -105,9 +105,8 @@ secondary_entities:
         type: boolean
         name: switch
   - entity: number
-    name: Timer
+    translation_key: timer
     category: config
-    icon: "mdi:timer"
     dps:
       - id: 4
         type: integer

+ 1 - 3
custom_components/tuya_local/devices/atomi_ceramic_heater.yaml

@@ -54,8 +54,7 @@ secondary_entities:
         type: boolean
         name: switch
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 11
@@ -90,7 +89,6 @@ secondary_entities:
             value: "12 hours"
   - entity: sensor
     name: Timer remain
-    icon: "mdi:timer"
     class: duration
     category: diagnostic
     dps:

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

@@ -14,9 +14,8 @@ primary_entity:
       name: add_ele
 secondary_entities:
   - entity: number
-    name: Timer
+    translation_key: timer
     category: config
-    icon: "mdi:timer"
     dps:
       - id: 9
         type: integer

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

@@ -19,9 +19,8 @@ primary_entity:
       type: string
 secondary_entities:
   - entity: number
-    name: Timer
+    translation_key: timer
     category: config
-    icon: "mdi:timer"
     dps:
       - id: 9
         name: value

+ 2 - 2
custom_components/tuya_local/devices/aubess_2gang_switch.yaml

@@ -27,8 +27,8 @@ secondary_entities:
         type: boolean
   - entity: number
     name: Timer 1
+    translation_key: timer
     category: config
-    icon: "mdi:timer"
     dps:
       - id: 9
         type: integer
@@ -42,7 +42,7 @@ secondary_entities:
   - entity: number
     name: Timer 2
     category: config
-    icon: "mdi:timer"
+    translation_key: timer
     dps:
       - id: 10
         type: integer

+ 1 - 3
custom_components/tuya_local/devices/avatto_roller_blinds.yaml

@@ -52,8 +52,7 @@ primary_entity:
             - value: closing
 secondary_entities:
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 8
@@ -72,7 +71,6 @@ secondary_entities:
             value: "4 hours"
   - entity: sensor
     name: Timer
-    icon: "mdi:timer"
     class: duration
     category: diagnostic
     dps:

+ 1 - 3
custom_components/tuya_local/devices/betterlife_bl1500_heater.yaml

@@ -47,8 +47,7 @@ secondary_entities:
         type: boolean
         name: lock
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 11
@@ -83,7 +82,6 @@ secondary_entities:
             value: "12 hours"
   - entity: sensor
     name: Timer countdown
-    icon: "mdi:timer"
     class: duration
     category: diagnostic
     dps:

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

@@ -84,9 +84,8 @@ secondary_entities:
             value: "not set"
             hidden: true
   - entity: number
-    name: Timer
+    translation_key: timer
     category: config
-    icon: "mdi:timer"
     dps:
       - id: 11
         type: integer

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

@@ -82,9 +82,8 @@ primary_entity:
       optional: true
 secondary_entities:
   - entity: number
-    name: Timer
+    translation_key: timer
     category: config
-    icon: "mdi:timer"
     dps:
       - id: 7
         type: integer

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

@@ -56,8 +56,7 @@ secondary_entities:
           - dps_val: colour
             value: Colorful
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 19

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

@@ -123,8 +123,7 @@ secondary_entities:
         unit: F
         optional: true
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 19

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

@@ -79,9 +79,8 @@ secondary_entities:
         name: calibration
         optional: true
   - entity: number
-    name: Timer
+    translation_key: timer
     category: config
-    icon: "mdi:timer"
     dps:
       - id: 9
         type: integer

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

@@ -57,8 +57,7 @@ secondary_entities:
         type: boolean
         name: lock
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 10

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

@@ -54,8 +54,7 @@ secondary_entities:
         unit: C
         class: measurement
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 22

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

@@ -48,8 +48,7 @@ secondary_entities:
         type: integer
         unit: d
   - entity: select
-    name: Timer
-    icon: "mdi:fan-clock"
+    translation_key: timer
     category: config
     dps:
       - id: 19

+ 1 - 3
custom_components/tuya_local/devices/breville_lad208_dehumidifier.yaml

@@ -58,9 +58,7 @@ secondary_entities:
           - dps_val: "3"
             value: 100
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
-    class: duration
+    translation_key: timer
     category: config
     dps:
       - id: 12

+ 1 - 3
custom_components/tuya_local/devices/breville_smart_air_viral_protect_plus.yaml

@@ -61,9 +61,8 @@ secondary_entities:
         type: integer
         unit: d
   - entity: select
-    name: Timer
+    translation_key: timer
     category: config
-    icon: "mdi:fan-clock"
     dps:
       - id: 18
         type: string
@@ -80,7 +79,6 @@ secondary_entities:
   - entity: sensor
     name: Timer remaining
     category: diagnostic
-    icon: "mdi:timer-sand"
     class: duration
     dps:
       - id: 19

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

@@ -63,8 +63,7 @@ secondary_entities:
         type: integer
         unit: d
   - entity: select
-    name: Timer
-    icon: "mdi:fan-clock"
+    translation_key: timer
     category: config
     dps:
       - id: 19

+ 2 - 2
custom_components/tuya_local/devices/brilliant_double_switch.yaml

@@ -21,7 +21,7 @@ secondary_entities:
   - entity: number
     name: Timer 1
     category: config
-    icon: "mdi:timer"
+    translation_key: timer
     dps:
       - id: 7
         type: integer
@@ -36,7 +36,7 @@ secondary_entities:
   - entity: number
     name: Timer 2
     category: config
-    icon: "mdi:timer"
+    translation_key: timer
     dps:
       - id: 8
         type: integer

+ 4 - 4
custom_components/tuya_local/devices/brilliant_quad_switch.yaml

@@ -35,7 +35,7 @@ secondary_entities:
   - entity: number
     name: Timer 1
     category: config
-    icon: "mdi:timer"
+    translation_key: timer
     dps:
       - id: 7
         type: integer
@@ -50,7 +50,7 @@ secondary_entities:
   - entity: number
     name: Timer 2
     category: config
-    icon: "mdi:timer"
+    translation_key: timer
     dps:
       - id: 8
         type: integer
@@ -65,7 +65,7 @@ secondary_entities:
   - entity: number
     name: Timer 3
     category: config
-    icon: "mdi:timer"
+    translation_key: timer
     dps:
       - id: 9
         type: integer
@@ -80,7 +80,7 @@ secondary_entities:
   - entity: number
     name: Timer 4
     category: config
-    icon: "mdi:timer"
+    translation_key: timer
     dps:
       - id: 10
         type: integer

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

@@ -11,9 +11,8 @@ primary_entity:
       name: switch
 secondary_entities:
   - entity: number
-    name: Timer
+    translation_key: timer
     category: config
-    icon: "mdi:timer"
     dps:
       - id: 7
         type: integer

+ 3 - 3
custom_components/tuya_local/devices/brilliant_triple_switch.yaml

@@ -28,7 +28,7 @@ secondary_entities:
   - entity: number
     name: Timer 1
     category: config
-    icon: "mdi:timer"
+    translation_key: timer
     dps:
       - id: 7
         type: integer
@@ -43,7 +43,7 @@ secondary_entities:
   - entity: number
     name: Timer 2
     category: config
-    icon: "mdi:timer"
+    translation_key: timer
     dps:
       - id: 8
         type: integer
@@ -58,7 +58,7 @@ secondary_entities:
   - entity: number
     name: Timer 3
     category: config
-    icon: "mdi:timer"
+    translation_key: timer
     dps:
       - id: 9
         type: integer

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

@@ -78,8 +78,7 @@ secondary_entities:
         type: boolean
         name: lock
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 41

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

@@ -122,9 +122,8 @@ secondary_entities:
         name: button
         optional: true
   - entity: number
-    name: Timer
+    translation_key: timer
     category: config
-    icon: "mdi:timer"
     dps:
       - id: 109
         type: integer

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

@@ -68,8 +68,7 @@ secondary_entities:
         type: boolean
         name: lock
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 19

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

@@ -71,8 +71,7 @@ secondary_entities:
             value: false
             hidden: true
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 19

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

@@ -108,9 +108,8 @@ secondary_entities:
         type: boolean
         name: sensor
   - entity: number
-    name: Timer
+    translation_key: timer
     category: config
-    icon: "mdi:timer"
     dps:
       - id: 103
         type: integer

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

@@ -49,8 +49,7 @@ secondary_entities:
           min: 0
           max: 100
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 22

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

@@ -12,8 +12,7 @@ primary_entity:
 secondary_entities:
   - entity: number
     category: config
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     dps:
       - id: 7
         type: integer

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

@@ -41,9 +41,8 @@ primary_entity:
       optional: true
 secondary_entities:
   - entity: number
-    name: Timer
+    translation_key: timer
     category: config
-    icon: "mdi:timer"
     dps:
       - id: 26
         type: integer

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

@@ -47,8 +47,7 @@ secondary_entities:
         name: sensor
         unit: C
   - entity: select
-    name: Timer
-    icon: mdi:timer
+    translation_key: timer
     dps:
       - id: 19
         name: option

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

@@ -46,7 +46,7 @@ secondary_entities:
         type: boolean
         name: switch
   - entity: select
-    name: Timer
+    translation_key: timer
     dps:
       - id: 19
         type: string

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

@@ -99,9 +99,8 @@ secondary_entities:
             value: "Steady On"
             default: true
   - entity: number
-    name: Timer
+    translation_key: timer
     category: config
-    icon: "mdi:timer"
     dps:
       - id: 26
         name: value

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

@@ -30,9 +30,8 @@ secondary_entities:
         mapping:
           - scale: 10
   - entity: number
-    name: Timer
+    translation_key: timer
     category: config
-    icon: "mdi:timer"
     dps:
       - id: 6
         type: integer

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

@@ -101,9 +101,8 @@ secondary_entities:
         type: string
         name: sensor
   - entity: number
-    name: Timer
+    translation_key: timer
     category: config
-    icon: "mdi:timer"
     dps:
       - id: 12
         type: integer

+ 2 - 2
custom_components/tuya_local/devices/digoo_dgsp202.yaml

@@ -52,7 +52,7 @@ secondary_entities:
   - entity: number
     category: config
     name: Timer 1
-    icon: "mdi:timer"
+    translation_key: timer
     dps:
       - id: 9
         name: value
@@ -67,7 +67,7 @@ secondary_entities:
   - entity: number
     category: config
     name: Timer 2
-    icon: "mdi:timer"
+    translation_key: timer
     dps:
       - id: 10
         name: value

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

@@ -38,9 +38,8 @@ secondary_entities:
           - dps_val: seesaw_sync
             value: Seesaw sync
   - entity: number
-    name: Timer
+    translation_key: timer
     category: config
-    icon: "mdi:timer"
     dps:
       - id: 6
         type: integer

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

@@ -20,9 +20,8 @@ primary_entity:
         max: 1000
 secondary_entities:
   - entity: number
-    name: Timer
+    translation_key: timer
     category: config
-    icon: "mdi:timer"
     dps:
       - id: 26
         type: integer

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

@@ -112,8 +112,7 @@ secondary_entities:
             value: false
           - value: true
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 13

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

@@ -85,9 +85,8 @@ primary_entity:
       optional: true
 secondary_entities:
   - entity: number
-    name: Timer
+    translation_key: timer
     category: config
-    icon: "mdi:timer"
     dps:
       - id: 26
         name: value

+ 2 - 2
custom_components/tuya_local/devices/dual_power_monitor_smartplug.yaml

@@ -58,7 +58,7 @@ secondary_entities:
   - entity: number
     name: Timer 1
     category: config
-    icon: "mdi:timer"
+    translation_key: timer
     dps:
       - id: 10
         type: integer
@@ -73,7 +73,7 @@ secondary_entities:
   - entity: number
     name: Timer 2
     category: config
-    icon: "mdi:timer"
+    translation_key: timer
     dps:
       - id: 11
         type: integer

+ 2 - 2
custom_components/tuya_local/devices/dual_power_monitor_smartplugv2.yaml

@@ -43,7 +43,7 @@ secondary_entities:
   - entity: number
     name: Timer 1
     category: config
-    icon: "mdi:timer"
+    translation_key: timer
     dps:
       - id: 9
         type: integer
@@ -58,7 +58,7 @@ secondary_entities:
   - entity: number
     name: Timer 2
     category: config
-    icon: "mdi:timer"
+    translation_key: timer
     dps:
       - id: 10
         type: integer

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

@@ -83,8 +83,7 @@ primary_entity:
           value: F
 secondary_entities:
   - entity: number
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 4

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

@@ -97,8 +97,7 @@ secondary_entities:
           - dps_val: "1"
             value: true
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 6

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

@@ -59,8 +59,7 @@ primary_entity:
           value: low
 secondary_entities:
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 108

+ 1 - 3
custom_components/tuya_local/devices/eanons_humidifier.yaml

@@ -64,8 +64,7 @@ secondary_entities:
         name: switch
         type: boolean
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 3
@@ -101,7 +100,6 @@ secondary_entities:
   - entity: sensor
     name: Timer
     class: duration
-    icon: "mdi:timer"
     category: diagnostic
     dps:
       - id: 4

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

@@ -148,8 +148,7 @@ secondary_entities:
         mapping:
           - scale: 0.05
   - entity: select
-    name: Timer
-    icon: "mdi:timer-cog-outline"
+    translation_key: timer
     category: config
     dps:
       - id: 17

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

@@ -112,8 +112,7 @@ primary_entity:
               value: idle
 secondary_entities:
   - entity: number
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 22

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

@@ -41,7 +41,7 @@ primary_entity:
           value: F
 secondary_entities:
   - entity: number
-    name: Timer
+    translation_key: timer
     category: config
     dps:
       - id: 10

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

@@ -128,8 +128,7 @@ secondary_entities:
           - dps_val: high
             value: High
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 17

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

@@ -77,8 +77,7 @@ secondary_entities:
         type: boolean
         name: lock
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 17

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

@@ -98,8 +98,7 @@ secondary_entities:
         name: lock
         optional: true
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 17

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

@@ -95,8 +95,7 @@ secondary_entities:
         type: boolean
         name: lock
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 17

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

@@ -66,8 +66,7 @@ secondary_entities:
         type: boolean
         name: lock
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 10

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

@@ -139,9 +139,8 @@ secondary_entities:
         type: boolean
         name: switch
   - entity: number
-    name: Timer
+    translation_key: timer
     category: config
-    icon: "mdi:timer-cog"
     dps:
       - id: 22
         type: integer

+ 3 - 3
custom_components/tuya_local/devices/es01_powerstrip.yaml

@@ -33,7 +33,7 @@ secondary_entities:
   - entity: number
     category: config
     name: Timer socket 1
-    icon: "mdi:timer"
+    translation_key: timer
     dps:
       - id: 5
         name: value
@@ -48,7 +48,7 @@ secondary_entities:
   - entity: number
     category: config
     name: Timer socket 2
-    icon: "mdi:timer"
+    translation_key: timer
     dps:
       - id: 6
         name: value
@@ -63,7 +63,7 @@ secondary_entities:
   - entity: number
     category: config
     name: Timer socket 3
-    icon: "mdi:timer"
+    translation_key: timer
     dps:
       - id: 7
         name: value

+ 1 - 3
custom_components/tuya_local/devices/essentials_purifier.yaml

@@ -61,8 +61,7 @@ secondary_entities:
         type: boolean
         name: button
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 18
@@ -79,7 +78,6 @@ secondary_entities:
             value: "8 hours"
   - entity: sensor
     name: Timer
-    icon: "mdi:timer"
     class: duration
     category: diagnostic
     dps:

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

@@ -80,8 +80,7 @@ secondary_entities:
               min: 0
               max: 255
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 4

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

@@ -41,8 +41,7 @@ secondary_entities:
               min: 3000
               max: 5000
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 22

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

@@ -36,7 +36,7 @@ primary_entity:
             max: 1000
 secondary_entities:
   - entity: number
-    name: Timer
+    translation_key: timer
     dps:
       - id: 26
         type: integer

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

@@ -42,8 +42,7 @@ secondary_entities:
         type: integer
         unit: L
   - entity: number
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 107

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

@@ -38,8 +38,7 @@ secondary_entities:
         class: measurement
         unit: C
   - entity: number
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 22

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

@@ -167,8 +167,7 @@ secondary_entities:
         type: boolean
         name: sensor
   - entity: number
-    name: Timer
-    icon: "msi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 12

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

@@ -40,9 +40,8 @@ secondary_entities:
         type: boolean
         name: lock
   - entity: number
-    name: Timer
+    translation_key: timer
     category: config
-    icon: "mdi:timer"
     dps:
       - id: 5
         type: integer

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

@@ -48,8 +48,7 @@ secondary_entities:
         type: boolean
         name: lock
   - entity: number
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 5

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

@@ -144,8 +144,7 @@ secondary_entities:
         type: boolean
         name: lock
   - entity: number
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 102

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

@@ -40,8 +40,7 @@ primary_entity:
       name: timer
 secondary_entities:
   - entity: number
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 6

+ 4 - 4
custom_components/tuya_local/devices/gosund_usb_triple_powerstrip.yaml

@@ -35,7 +35,7 @@ secondary_entities:
   - entity: number
     name: Timer 1
     category: config
-    icon: "mdi:timer"
+    translation_key: timer
     dps:
       - id: 9
         type: integer
@@ -50,7 +50,7 @@ secondary_entities:
   - entity: number
     name: Timer 2
     category: config
-    icon: "mdi:timer"
+    translation_key: timer
     dps:
       - id: 10
         type: integer
@@ -65,7 +65,7 @@ secondary_entities:
   - entity: number
     name: Timer 3
     category: config
-    icon: "mdi:timer"
+    translation_key: timer
     dps:
       - id: 11
         type: integer
@@ -80,7 +80,7 @@ secondary_entities:
   - entity: number
     name: USB Timer
     category: config
-    icon: "mdi:timer"
+    translation_key: timer
     dps:
       - id: 15
         type: integer

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

@@ -143,8 +143,7 @@ secondary_entities:
         name: lock
         optional: true
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 17

+ 2 - 2
custom_components/tuya_local/devices/grid_connect_usb_double_power_point.yaml

@@ -104,7 +104,7 @@ secondary_entities:
             value: Last State
   - entity: number
     name: Timer 1
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 9
@@ -116,7 +116,7 @@ secondary_entities:
           max: 86400
   - entity: number
     name: Timer 2
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 10

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

@@ -91,9 +91,8 @@ secondary_entities:
           - dps_val: 97000000000000000000000000000000
             value: Color Scene - Pure
   - entity: number
-    name: Timer
+    translation_key: timer
     category: config
-    icon: "mdi:timer"
     dps:
       - id: 26
         type: integer

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

@@ -30,8 +30,7 @@ primary_entity:
         - scale: 10
 secondary_entities:
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 10

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

@@ -53,8 +53,7 @@ secondary_entities:
         type: boolean
         name: button
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 18

+ 1 - 3
custom_components/tuya_local/devices/himox_h06_purifier.yaml

@@ -41,8 +41,7 @@ secondary_entities:
         type: boolean
         name: button
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 18
@@ -57,7 +56,6 @@ secondary_entities:
             value: "8 hours"
   - entity: sensor
     name: Timer
-    icon: "mdi:timer"
     category: diagnostic
     class: duration
     dps:

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

@@ -51,8 +51,7 @@ primary_entity:
       type: bitfield
 secondary_entities:
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 11

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

@@ -48,9 +48,8 @@ secondary_entities:
         type: boolean
         name: switch
   - entity: select
-    name: Timer
+    translation_key: timer
     category: config
-    icon: "mdi:timer"
     dps:
       - id: 19
         type: string

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

@@ -83,8 +83,7 @@ secondary_entities:
           - dps_val: 3
             value: "Rain Delay"
   - entity: number
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 107

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

@@ -79,7 +79,7 @@ primary_entity:
       hidden: true
 secondary_entities:
   - entity: select
-    name: Timer
+    translation_key: timer
     category: config
     dps:
       - id: 11

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

@@ -91,9 +91,8 @@ secondary_entities:
             # color* R+G+B+Y+C+V, Breath, Mid speed
             value: Gorgeous
   - entity: number
-    name: Timer
+    translation_key: timer
     category: config
-    icon: "mdi:timer"
     dps:
       - id: 26
         type: integer

+ 1 - 3
custom_components/tuya_local/devices/inventor_atmospherexl_dehumidifier.yaml

@@ -160,9 +160,8 @@ secondary_entities:
         type: boolean
         name: lock
   - entity: select
-    name: Timer
+    translation_key: timer
     category: config
-    icon: "mdi:timer"
     dps:
       - id: 17
         type: string
@@ -192,7 +191,6 @@ secondary_entities:
     name: Timer
     class: duration
     category: diagnostic
-    icon: "mdi:timer"
     dps:
       - id: 18
         type: integer

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

@@ -136,8 +136,7 @@ secondary_entities:
         type: boolean
         name: sensor
   - entity: number
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 12

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

@@ -50,8 +50,7 @@ secondary_entities:
         type: boolean
         name: switch
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 19

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

@@ -90,8 +90,7 @@ primary_entity:
           value: high
 secondary_entities:
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 19

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

@@ -144,9 +144,8 @@ secondary_entities:
         type: boolean
         name: switch
   - entity: number
-    name: Timer
+    translation_key: timer
     category: config
-    icon: "mdi:timer"
     dps:
       - id: 112
         type: integer

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

@@ -44,8 +44,7 @@ primary_entity:
       name: preset_mode
 secondary_entities:
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 10

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

@@ -24,8 +24,7 @@ primary_entity:
       name: current_temperature
 secondary_entities:
   - entity: select
-    name: Timer
-    icon: "mdi:timer"
+    translation_key: timer
     category: config
     dps:
       - id: 10

Некоторые файлы не были показаны из-за большого количества измененных файлов