Переглянути джерело

Convert common light types to use translations

- Backlight
- Display
- Indicator
- Laser
- Nightlight
For fireplaces:
- Flame
- Embers
- Logs

Issue #1708
Jason Rumney 1 рік тому
батько
коміт
6d575b90bf
100 змінених файлів з 149 додано та 277 видалено
  1. 3 3
      custom_components/tuya_local/devices/advancedfires_1500_fireplace.yaml
  2. 1 1
      custom_components/tuya_local/devices/arlec_12speed_tower_fan.yaml
  3. 4 8
      custom_components/tuya_local/devices/aspen_asp200_fan.yaml
  4. 1 1
      custom_components/tuya_local/devices/atomi_ceramic_heater.yaml
  5. 1 1
      custom_components/tuya_local/devices/avatto_curtain_light.yaml
  6. 1 1
      custom_components/tuya_local/devices/avatto_curtain_switch.yaml
  7. 1 2
      custom_components/tuya_local/devices/bcom_intercom_camera.yaml
  8. 1 6
      custom_components/tuya_local/devices/beca_bhp6000_thermostat_c.yaml
  9. 2 6
      custom_components/tuya_local/devices/beca_bhp6000_thermostat_f.yaml
  10. 1 6
      custom_components/tuya_local/devices/beca_bhp6000_thermostat_mapped.yaml
  11. 1 5
      custom_components/tuya_local/devices/beok_tgm50_thermostat.yaml
  12. 1 6
      custom_components/tuya_local/devices/blitzwolf_bwsh5_humidifier.yaml
  13. 1 1
      custom_components/tuya_local/devices/bvf_cp1_heater.yaml
  14. 1 2
      custom_components/tuya_local/devices/camnsmart_e27_camera.yaml
  15. 1 2
      custom_components/tuya_local/devices/carro_ph805_humidifier.yaml
  16. 2 3
      custom_components/tuya_local/devices/ceres_plus_petfeeder.yaml
  17. 1 2
      custom_components/tuya_local/devices/cooper_hunter_air_conditioner.yaml
  18. 1 2
      custom_components/tuya_local/devices/daizuki_heatpump.yaml
  19. 1 2
      custom_components/tuya_local/devices/della_airconditioner.yaml
  20. 1 1
      custom_components/tuya_local/devices/digoo_dgsp01_dual_nightlight_switch.yaml
  21. 0 1
      custom_components/tuya_local/devices/ditua_dt1522yn_aromadiffuser.yaml
  22. 1 2
      custom_components/tuya_local/devices/dynasty_btx_fireplace.yaml
  23. 1 6
      custom_components/tuya_local/devices/electriq_12wminv_heatpump.yaml
  24. 1 6
      custom_components/tuya_local/devices/electriq_cd12pro_dehumidifier.yaml
  25. 1 6
      custom_components/tuya_local/devices/electriq_cd12pw_dehumidifier.yaml
  26. 1 6
      custom_components/tuya_local/devices/electriq_cd12pwv2_dehumidifier.yaml
  27. 1 6
      custom_components/tuya_local/devices/electriq_cd20pro_dehumidifier.yaml
  28. 1 1
      custom_components/tuya_local/devices/etersky_aroma_diffuser.yaml
  29. 1 1
      custom_components/tuya_local/devices/etersky_curtain_switch.yaml
  30. 1 1
      custom_components/tuya_local/devices/fs_03w_curtain.yaml
  31. 1 1
      custom_components/tuya_local/devices/galaxy_projector_light.yaml
  32. 2 2
      custom_components/tuya_local/devices/gautone_pg103_alarm.yaml
  33. 1 8
      custom_components/tuya_local/devices/goldair_dehumidifier.yaml
  34. 1 6
      custom_components/tuya_local/devices/goldair_fan.yaml
  35. 1 6
      custom_components/tuya_local/devices/goldair_gpdh340_dehumidifier.yaml
  36. 1 6
      custom_components/tuya_local/devices/goldair_gpph_heater.yaml
  37. 1 1
      custom_components/tuya_local/devices/heatstorm_hs6000gc_heater.yaml
  38. 1 2
      custom_components/tuya_local/devices/hjz_radiator.yaml
  39. 1 1
      custom_components/tuya_local/devices/inkbird_ibbq4bw_thermometer.yaml
  40. 1 2
      custom_components/tuya_local/devices/juskys_oh125bw2_radiator.yaml
  41. 1 2
      custom_components/tuya_local/devices/kennedy_fireplace.yaml
  42. 1 2
      custom_components/tuya_local/devices/kerui_200w_camera.yaml
  43. 1 2
      custom_components/tuya_local/devices/kerui_300w_camera.yaml
  44. 1 2
      custom_components/tuya_local/devices/kkmoon_thermostat.yaml
  45. 1 1
      custom_components/tuya_local/devices/klarta_humea_humidifier.yaml
  46. 4 5
      custom_components/tuya_local/devices/kogan_kashmfp20ba_heater.yaml
  47. 1 1
      custom_components/tuya_local/devices/lifubide_x600_purifier.yaml
  48. 1 0
      custom_components/tuya_local/devices/loycco_sound_nightlight.yaml
  49. 0 1
      custom_components/tuya_local/devices/maxcio_aromadiffuser.yaml
  50. 2 3
      custom_components/tuya_local/devices/modernflames_orion_fireplace.yaml
  51. 1 1
      custom_components/tuya_local/devices/moes_rgb_socket.yaml
  52. 1 2
      custom_components/tuya_local/devices/moes_star_projector.yaml
  53. 1 1
      custom_components/tuya_local/devices/moes_threegang.yaml
  54. 1 1
      custom_components/tuya_local/devices/moes_touch_curtain_switch.yaml
  55. 1 1
      custom_components/tuya_local/devices/moes_wsyeuc_curtainswitch.yaml
  56. 1 1
      custom_components/tuya_local/devices/moesgo_dimmer.yaml
  57. 1 2
      custom_components/tuya_local/devices/mrc_magnum_floorheater.yaml
  58. 1 2
      custom_components/tuya_local/devices/nedis_outdoor_camera.yaml
  59. 1 2
      custom_components/tuya_local/devices/nedis_ptc_fan_heater.yaml
  60. 1 6
      custom_components/tuya_local/devices/novadigital_quad_switch.yaml
  61. 1 1
      custom_components/tuya_local/devices/petlibro_PLAF103_feeder.yaml
  62. 2 3
      custom_components/tuya_local/devices/petlibro_camera_feeder.yaml
  63. 1 2
      custom_components/tuya_local/devices/pinelake_birdfeeder.yaml
  64. 1 2
      custom_components/tuya_local/devices/proscenic_a9_airpurifier.yaml
  65. 1 8
      custom_components/tuya_local/devices/purline_m100_heater.yaml
  66. 1 1
      custom_components/tuya_local/devices/rgb_nightlight_outlet.yaml
  67. 1 2
      custom_components/tuya_local/devices/rojeco_pet_feeder.yaml
  68. 1 2
      custom_components/tuya_local/devices/rotenso_ronix_heatpump.yaml
  69. 1 2
      custom_components/tuya_local/devices/royalclima_fresh_climate.yaml
  70. 1 1
      custom_components/tuya_local/devices/sd123_hpr01_presence.yaml
  71. 1 2
      custom_components/tuya_local/devices/sendo_airconditioner_c.yaml
  72. 1 6
      custom_components/tuya_local/devices/single_switch_with_backlight.yaml
  73. 1 6
      custom_components/tuya_local/devices/smartmi_e1_purifier.yaml
  74. 1 1
      custom_components/tuya_local/devices/solaire_vitra_smart_heater_s2.yaml
  75. 1 1
      custom_components/tuya_local/devices/somgom_double_switch.yaml
  76. 1 1
      custom_components/tuya_local/devices/somgom_single_switch.yaml
  77. 1 1
      custom_components/tuya_local/devices/stadlerform_eva_humidifier.yaml
  78. 9 17
      custom_components/tuya_local/devices/starlight_heatpump.yaml
  79. 1 2
      custom_components/tuya_local/devices/t5e_wf_thermostat.yaml
  80. 1 1
      custom_components/tuya_local/devices/taurus_agadir_heater.yaml
  81. 1 2
      custom_components/tuya_local/devices/tesla_airconditioner.yaml
  82. 1 2
      custom_components/tuya_local/devices/th16_temp_humidity_sensor.yaml
  83. 1 2
      custom_components/tuya_local/devices/timeguard_wfpir.yaml
  84. 3 6
      custom_components/tuya_local/devices/touchstone_sideline_fireplace.yaml
  85. 1 2
      custom_components/tuya_local/devices/tuya_000004rime_weather_station.yaml
  86. 1 2
      custom_components/tuya_local/devices/tv_backlights.yaml
  87. 1 2
      custom_components/tuya_local/devices/vivax_heatpump.yaml
  88. 1 2
      custom_components/tuya_local/devices/vivion_airconditioner.yaml
  89. 1 1
      custom_components/tuya_local/devices/warme_gsh_heater.yaml
  90. 1 7
      custom_components/tuya_local/devices/wetair_wawh1210lw_humidifier.yaml
  91. 1 1
      custom_components/tuya_local/devices/wetair_wch750_heater.yaml
  92. 1 3
      custom_components/tuya_local/devices/wilfa_haze_hu400bc_humidifier.yaml
  93. 1 2
      custom_components/tuya_local/devices/xiumii_smart_human_presence_sensor.yaml
  94. 1 2
      custom_components/tuya_local/devices/yidi_fan_light_switch.yaml
  95. 1 2
      custom_components/tuya_local/devices/yinmik_waterquality_tester.yaml
  96. 1 2
      custom_components/tuya_local/devices/yym_805SW_aroma_nightlight.yaml
  97. 1 1
      custom_components/tuya_local/devices/zg205w_mmWave_presence_sensor.yaml
  98. 1 2
      custom_components/tuya_local/devices/zx_db11_doorbell_alarm.yaml
  99. 1 2
      custom_components/tuya_local/devices/zx_db11b_doorbell_alarm.yaml
  100. 29 0
      custom_components/tuya_local/icons.json

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

@@ -84,7 +84,7 @@ secondary_entities:
           - dps_val: f
             value: fahrenheit
   - entity: light
-    name: Flame
+    translation_key: flame
     dps:
       - id: 115
         type: boolean
@@ -150,7 +150,7 @@ secondary_entities:
         type: boolean
         name: switch
   - entity: light
-    name: Ember
+    translation_key: embers
     category: config
     dps:
       - id: 116
@@ -194,7 +194,7 @@ secondary_entities:
         name: orange_disabled
         type: boolean
   - entity: light
-    name: Logs
+    translation_key: logs
     category: config
     dps:
       - id: 118

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

@@ -141,7 +141,7 @@ secondary_entities:
         unit: C
         class: measurement
   - entity: light
-    name: Display
+    translation_key: display
     category: config
     dps:
       - id: 9

+ 4 - 8
custom_components/tuya_local/devices/aspen_asp200_fan.yaml

@@ -57,16 +57,12 @@ secondary_entities:
         type: integer
         unit: F
   - entity: light
-    name: Display
+    translation_key: display
     category: config
     dps:
       - id: 102
         type: integer
         name: brightness
-        mapping:
-          - dps_val: 1
-            value: 51
-          - dps_val: 2
-            value: 128
-          - dps_val: 3
-            value: 255
+        range:
+          min: 1
+          max: 3

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

@@ -48,7 +48,7 @@ primary_entity:
           value: horizontal
 secondary_entities:
   - entity: light
-    name: Display
+    translation_key: display
     category: config
     dps:
       - id: 10

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

@@ -46,7 +46,7 @@ secondary_entities:
           - dps_val: end
             value: End
   - entity: light
-    name: Backlight
+    translation_key: backlight
     category: config
     dps:
       - id: 7

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

@@ -16,7 +16,7 @@ primary_entity:
 secondary_entities:
   - entity: light
     category: config
-    name: Backlight
+    translation_key: backlight
     dps:
       - id: 101
         type: boolean

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

@@ -30,9 +30,8 @@ secondary_entities:
         type: boolean
         name: lock
   - entity: light
-    name: Indicator
+    translation_key: indicator
     category: config
-    icon: "mdi:led-on"
     dps:
       - id: 101
         type: boolean

+ 1 - 6
custom_components/tuya_local/devices/beca_bhp6000_thermostat_c.yaml

@@ -58,14 +58,9 @@ secondary_entities:
         name: lock
         type: boolean
   - entity: light
-    name: Display
+    translation_key: display
     category: config
     dps:
       - id: 1
         name: switch
         type: boolean
-        mapping:
-          - dps_val: true
-            icon: "mdi:led-on"
-          - dps_val: false
-            icon: "mdi:led-off"

+ 2 - 6
custom_components/tuya_local/devices/beca_bhp6000_thermostat_f.yaml

@@ -59,14 +59,10 @@ secondary_entities:
         name: lock
         type: boolean
   - entity: light
-    name: Display
+    translation_key: display
     category: config
     dps:
       - id: 1
         name: switch
         type: boolean
-        mapping:
-          - dps_val: true
-            icon: "mdi:led-on"
-          - dps_val: false
-            icon: "mdi:led-off"
+

+ 1 - 6
custom_components/tuya_local/devices/beca_bhp6000_thermostat_mapped.yaml

@@ -389,14 +389,9 @@ secondary_entities:
         name: lock
         type: boolean
   - entity: light
-    name: Display
+    translation_key: display
     category: config
     dps:
       - id: 1
         name: switch
         type: boolean
-        mapping:
-          - dps_val: true
-            icon: "mdi:led-on"
-          - dps_val: false
-            icon: "mdi:led-off"

+ 1 - 5
custom_components/tuya_local/devices/beok_tgm50_thermostat.yaml

@@ -158,7 +158,7 @@ secondary_entities:
         name: button
         type: boolean
   - entity: light
-    name: Backlight
+    translation_key: backlight
     category: config
     dps:
       - id: 106
@@ -166,16 +166,12 @@ secondary_entities:
         name: brightness
         mapping:
           - dps_val: "0"
-            icon: "mdi:lightbulb-on-10"
             value: 0
           - dps_val: "1"
-            icon: "mdi:lightbulb-on-40"
             value: 100
           - dps_val: "2"
-            icon: "mdi:lightbulb-on-70"
             value: 180
           - dps_val: "3"
-            icon: "mdi:lightbulb-on"
             value: 255
   - entity: select
     name: Schedule

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

@@ -70,17 +70,12 @@ secondary_entities:
         type: boolean
         optional: true
   - entity: light
-    name: LED
+    translation_key: indicator
     category: config
     dps:
       - id: 5
         name: switch
         type: boolean
-        mapping:
-          - dps_val: true
-            icon: "mdi:led-on"
-          - dps_val: false
-            icon: "mdi:led-off"
   - entity: fan
     name: Spray level
     icon: "mdi:heat-wave"

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

@@ -37,7 +37,7 @@ primary_entity:
       name: current_temperature
 secondary_entities:
   - entity: light
-    name: Display
+    translation_key: display
     category: config
     dps:
       - id: 6

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

@@ -26,9 +26,8 @@ primary_entity:
       optional: true
 secondary_entities:
   - entity: light
-    name: Indicator
+    translation_key: indicator
     category: config
-    icon: "mdi:led-on"
     dps:
       - id: 101
         type: boolean

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

@@ -45,8 +45,7 @@ secondary_entities:
           - dps_val: level_3
             value: 100
   - entity: light
-    name: Display
-    icon: "mdi:television-ambient-light"
+    translation_key: display
     category: config
     dps:
       - id: 5

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

@@ -28,10 +28,9 @@ primary_entity:
       name: feed_report
       optional: true
 secondary_entities:
-  - entity: switch
-    name: Indicator
+  - entity: light
+    translation_key: indicator
     category: config
-    icon: "mdi:led-on"
     dps:
       - id: 101
         type: boolean

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

@@ -166,9 +166,8 @@ secondary_entities:
         name: switch
         type: boolean
   - entity: light
-    name: Display
+    translation_key: display
     category: config
-    icon: "mdi:television-ambient-light"
     dps:
       - id: 13
         name: switch

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

@@ -222,9 +222,8 @@ secondary_entities:
           - dps_val: "5"
             value: Rightmost
   - entity: light
-    name: Display
+    translation_key: display
     category: config
-    icon: "mdi:television-ambient-light"
     dps:
       - id: 123
         type: hex

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

@@ -89,9 +89,8 @@ secondary_entities:
         name: switch
         type: boolean
   - entity: light
-    name: Backlight
+    translation_key: backlight
     category: config
-    icon: "mdi:television-ambient-light"
     dps:
       - id: 13
         name: switch

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

@@ -8,7 +8,7 @@ primary_entity:
       name: switch
 secondary_entities:
   - entity: light
-    name: Night light
+    translation_key: nightlight
     dps:
       - id: 27
         name: switch

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

@@ -29,7 +29,6 @@ primary_entity:
       optional: true
 secondary_entities:
   - entity: light
-    name: LED
     category: config
     dps:
       - id: 11

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

@@ -96,8 +96,7 @@ secondary_entities:
         name: sensor
         unit: min
   - entity: light
-    name: Flame
-    icon: "mdi:fire"
+    translation_key: flame
     category: config
     dps:
       - id: 101

+ 1 - 6
custom_components/tuya_local/devices/electriq_12wminv_heatpump.yaml

@@ -120,14 +120,9 @@ secondary_entities:
         name: switch
         type: boolean
   - entity: light
-    name: Display
+    translation_key: display
     category: config
     dps:
       - id: 104
         name: switch
         type: boolean
-        mapping:
-          - dps_val: true
-            icon: "mdi:led-on"
-          - dps_val: false
-            icon: "mdi:led-off"

+ 1 - 6
custom_components/tuya_local/devices/electriq_cd12pro_dehumidifier.yaml

@@ -89,17 +89,12 @@ secondary_entities:
         name: switch
         type: boolean
   - entity: light
-    name: Indicator light
+    translation_key: indicator
     category: config
     dps:
       - id: 101
         type: boolean
         name: switch
-        mapping:
-          - dps_val: true
-            icon: "mdi:led-on"
-          - dps_val: false
-            icon: "mdi:led-off"
   - entity: switch
     translation_key: ionizer
     category: config

+ 1 - 6
custom_components/tuya_local/devices/electriq_cd12pw_dehumidifier.yaml

@@ -39,17 +39,12 @@ primary_entity:
       name: current_temperature
 secondary_entities:
   - entity: light
-    name: Display
+    translation_key: display
     category: config
     dps:
       - id: 101
         type: boolean
         name: switch
-        mapping:
-          - dps_val: true
-            icon: "mdi:led-on"
-          - dps_val: false
-            icon: "mdi:led-off"
   - entity: sensor
     class: temperature
     dps:

+ 1 - 6
custom_components/tuya_local/devices/electriq_cd12pwv2_dehumidifier.yaml

@@ -39,17 +39,12 @@ primary_entity:
       name: error_code
 secondary_entities:
   - entity: light
-    name: Display
+    translation_key: display
     category: config
     dps:
       - id: 101
         type: boolean
         name: switch
-        mapping:
-          - dps_val: true
-            icon: "mdi:led-on"
-          - dps_val: false
-            icon: "mdi:led-off"
   - entity: switch
     name: Sleep
     category: config

+ 1 - 6
custom_components/tuya_local/devices/electriq_cd20pro_dehumidifier.yaml

@@ -73,17 +73,12 @@ secondary_entities:
         name: switch
         type: boolean
   - entity: light
-    name: Display
+    translation_key: display
     category: config
     dps:
       - id: 101
         type: boolean
         name: switch
-        mapping:
-          - dps_val: true
-            icon: "mdi:led-on"
-          - dps_val: false
-            icon: "mdi:led-off"
   - entity: switch
     translation_key: ionizer
     dps:

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

@@ -33,7 +33,7 @@ secondary_entities:
         type: boolean
         name: switch
   - entity: light
-    name: Nightlight
+    translation_key: nightlight
     dps:
       - id: 7
         name: switch

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

@@ -18,7 +18,7 @@ primary_entity:
           value: stop
 secondary_entities:
   - entity: light
-    name: Backlight
+    translation_key: backlight
     category: config
     dps:
       - id: 7

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

@@ -26,7 +26,7 @@ primary_entity:
         - step: 10
 secondary_entities:
   - entity: light
-    name: Backlight
+    translation_key: backlight
     category: config
     dps:
       - id: 7

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

@@ -49,7 +49,7 @@ secondary_entities:
           - scale: 60
             step: 60
   - entity: light
-    name: Laser
+    translation_key: laser
     dps:
       - id: 53
         type: boolean

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

@@ -70,8 +70,8 @@ secondary_entities:
       - id: 6
         type: boolean
         name: switch
-  - entity: switch
-    name: Backlight
+  - entity: light
+    translation_key: backlight
     category: config
     dps:
       - id: 13

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

@@ -99,19 +99,12 @@ secondary_entities:
               - dps_val: "1"
                 invalid: true
   - entity: light
-    name: Display
+    translation_key: display
     category: config
     dps:
       - id: 102
         type: boolean
         name: switch
-        mapping:
-          - dps_val: false
-            value: true
-            icon: "mdi:led-on"
-          - dps_val: true
-            value: false
-            icon: "mdi:led-off"
   - entity: lock
     translation_key: child_lock
     category: config

+ 1 - 6
custom_components/tuya_local/devices/goldair_fan.yaml

@@ -38,14 +38,9 @@ primary_entity:
       name: timer
 secondary_entities:
   - entity: light
-    name: Display
+    translation_key: display
     category: config
     dps:
       - id: 101
         type: boolean
-        mapping:
-          - dps_val: false
-            icon: "mdi:led-off"
-          - dps_val: true
-            icon: "mdi:led-on"
         name: switch

+ 1 - 6
custom_components/tuya_local/devices/goldair_gpdh340_dehumidifier.yaml

@@ -84,17 +84,12 @@ secondary_entities:
           - dps_val: "3"
             value: 100
   - entity: light
-    name: Front display
+    translation_key: display
     category: config
     dps:
       - id: 107
         type: boolean
         name: switch
-        mapping:
-          - dps_val: true
-            icon: "mdi:numeric"
-          - dps_val: false
-            icon: "mdi:numeric-off"
   - entity: lock
     translation_key: child_lock
     category: config

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

@@ -125,16 +125,11 @@ primary_entity:
       name: eco_temperature
 secondary_entities:
   - entity: light
-    name: Display
+    translation_key: display
     category: config
     dps:
       - id: 104
         type: boolean
-        mapping:
-          - dps_val: false
-            icon: "mdi:led-off"
-          - dps_val: true
-            icon: "mdi:led-on"
         name: switch
   - entity: lock
     translation_key: child_lock

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

@@ -77,7 +77,7 @@ primary_entity:
       hidden: true
 secondary_entities:
   - entity: light
-    name: Display
+    translation_key: display
     category: config
     dps:
       - id: 5

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

@@ -40,8 +40,7 @@ secondary_entities:
         name: lock
   - entity: light
     category: config
-    name: Display
-    icon: "mdi:television-ambient-light"
+    translation_key: display
     dps:
       - id: 10
         type: boolean

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

@@ -107,7 +107,7 @@ secondary_entities:
         type: boolean
         name: switch
   - entity: light
-    name: Backlight
+    translation_key: backlight
     category: config
     dps:
       - id: 111

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

@@ -43,8 +43,7 @@ secondary_entities:
         type: boolean
         name: lock
   - entity: light
-    name: Indicators
-    icon: "mdi:led-on"
+    translation_key: indicator
     category: config
     dps:
       - id: 10

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

@@ -127,8 +127,7 @@ secondary_entities:
         name: sensor
         unit: min
   - entity: light
-    name: Flame
-    icon: "mdi:fire"
+    translation_key: flame
     category: config
     dps:
       - id: 101

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

@@ -17,9 +17,8 @@ primary_entity:
       type: boolean
 secondary_entities:
   - entity: light
-    name: Indicator
+    translation_key: indicator
     category: config
-    icon: "mdi:led-on"
     dps:
       - id: 101
         type: boolean

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

@@ -17,9 +17,8 @@ primary_entity:
       type: boolean
 secondary_entities:
   - entity: light
-    name: Indicator
+    translation_key: indicator
     category: config
-    icon: "mdi:led-on"
     dps:
       - id: 101
         type: boolean

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

@@ -82,8 +82,7 @@ secondary_entities:
           - dps_val: close
             value: false
   - entity: light
-    name: Backlight
-    icon: "mdi:television-ambient-light"
+    translation_key: backlight
     category: config
     dps:
       - id: 44

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

@@ -44,7 +44,7 @@ primary_entity:
       name: current_humidity
 secondary_entities:
   - entity: light
-    name: Nightlight
+    translation_key: nightlight
     category: config
     dps:
       - id: 102

+ 4 - 5
custom_components/tuya_local/devices/kogan_kashmfp20ba_heater.yaml

@@ -1,6 +1,7 @@
-name: Kogan SmarterHome™ 2000W flame heater
+name: Electric fireplace
 products:
   - id: eqyne046pnqkysqh
+    name: Kogan SmarterHome™ 2000W flame heater
 primary_entity:
   entity: climate
   translation_only_key: heater
@@ -32,8 +33,7 @@ primary_entity:
       name: current_temperature
 secondary_entities:
   - entity: light
-    name: Backlight
-    icon: "mdi:television-ambient-light"
+    translation_key: backlight
     dps:
       - id: 5
         type: string
@@ -52,8 +52,7 @@ secondary_entities:
           - dps_val: "blueorange"
             value: "blueorange"
   - entity: light
-    name: Flame
-    icon: "mdi:fireplace"
+    translation_key: flame
     dps:
       - id: 6
         type: string

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

@@ -39,7 +39,7 @@ secondary_entities:
         type: boolean
         name: lock
   - entity: light
-    name: Indicator
+    translation_key: indicator
     category: config
     dps:
       - id: 8

+ 1 - 0
custom_components/tuya_local/devices/loycco_sound_nightlight.yaml

@@ -4,6 +4,7 @@ products:
     name: Momland nightlight with white noise
 primary_entity:
   entity: light
+  translation_key: nightlight
   dps:
     - id: 3
       type: boolean

+ 0 - 1
custom_components/tuya_local/devices/maxcio_aromadiffuser.yaml

@@ -23,7 +23,6 @@ primary_entity:
       optional: true
 secondary_entities:
   - entity: light
-    name: LED
     category: config
     dps:
       - id: 11

+ 2 - 3
custom_components/tuya_local/devices/modernflames_orion_fireplace.yaml

@@ -168,7 +168,7 @@ secondary_entities:
           - dps_val: THREE
             value: Three
   - entity: light
-    name: Flame
+    translation_key: flame
     category: config
     dps:
       - id: 104
@@ -268,9 +268,8 @@ secondary_entities:
         type: boolean
         name: switch
   - entity: light
-    name: Embers
+    translation_key: embers
     category: config
-    icon: "mdi:campfire"
     dps:
       - id: 110
         name: brightness

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

@@ -8,7 +8,7 @@ primary_entity:
       name: switch
 secondary_entities:
   - entity: light
-    name: Night light
+    translation_key: nightlight
     dps:
       - id: 1
         name: switch

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

@@ -44,8 +44,7 @@ primary_entity:
       type: hex
 secondary_entities:
   - entity: light
-    name: Laser
-    icon: "mdi:laser-pointer"
+    translation_key: laser
     dps:
       - id: 102
         type: boolean

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

@@ -23,7 +23,7 @@ secondary_entities:
         name: switch
         type: boolean
   - entity: light
-    name: Backlight
+    translation_key: backlight
     category: config
     dps:
       - id: 16

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

@@ -18,7 +18,7 @@ primary_entity:
           value: stop
 secondary_entities:
   - entity: light
-    name: Backlight
+    translation_key: backlight
     category: config
     dps:
       - id: 7

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

@@ -19,7 +19,7 @@ primary_entity:
 secondary_entities:
   - entity: light
     category: config
-    name: Backlight
+    translation_key: backlight
     dps:
       - id: 101
         type: boolean

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

@@ -75,7 +75,7 @@ secondary_entities:
           - dps_val: "memory"
             value: "Last state"
   - entity: light
-    name: Backlight
+    translation_key: backlight
     category: config
     dps:
       - id: 26

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

@@ -308,8 +308,7 @@ secondary_entities:
         name: unit
         hidden: true
   - entity: light
-    name: Display
-    icon: "mdi:television-ambient-light"
+    translation_key: display
     category: config
     dps:
       - id: 115

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

@@ -27,9 +27,8 @@ primary_entity:
           hidden: true
 secondary_entities:
   - entity: light
-    name: Indicator
+    translation_key: indicator
     category: config
-    icon: "mdi:led-on"
     dps:
       - id: 101
         type: boolean

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

@@ -51,9 +51,8 @@ primary_entity:
           value: "on"
 secondary_entities:
   - entity: light
-    name: Indicator
+    translation_key: indicator
     category: config
-    icon: "mdi:led-on"
     dps:
       - id: 10
         type: boolean

+ 1 - 6
custom_components/tuya_local/devices/novadigital_quad_switch.yaml

@@ -109,14 +109,9 @@ secondary_entities:
         optional: true
         force: true
   - entity: light
-    name: "Backlight"
+    translation_key: backlight
     category: config
     dps:
       - id: 16
         name: switch
         type: boolean
-        mapping:
-          - dps_val: true
-            icon: "mdi:lightbulb-on"
-          - dps_val: false
-            icon: "mdi:lightbulb-outline"

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

@@ -188,7 +188,7 @@ secondary_entities:
         type: boolean
         name: switch
   - entity: light
-    name: Indicator
+    translation_key: indicator
     category: config
     dps:
       - id: 113

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

@@ -27,10 +27,9 @@ primary_entity:
       name: manual_feed_report
       optional: true
 secondary_entities:
-  - entity: switch
-    name: Indicator
+  - entity: light
+    translation_key: indicator
     category: config
-    icon: "mdi:led-on"
     dps:
       - id: 101
         type: boolean

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

@@ -24,9 +24,8 @@ secondary_entities:
         type: boolean
         name: switch
   - entity: light
-    name: Indicator
+    translation_key: indicator
     category: config
-    icon: "mdi:led-on"
     dps:
       - id: 101
         type: boolean

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

@@ -56,8 +56,7 @@ secondary_entities:
         unit: ugm3
   - entity: light  # this is inverted (false = light on)
     category: config
-    name: Display
-    icon: "mdi:lightbulb-night"
+    translation_key: display
     dps:
       - id: 8
         name: switch

+ 1 - 8
custom_components/tuya_local/devices/purline_m100_heater.yaml

@@ -59,18 +59,11 @@ primary_entity:
           value: "vertical"
 secondary_entities:
   - entity: light
-    name: Display
+    translation_key: display
     category: config
     dps:
       - id: 10
         type: boolean
-        mapping:
-          - dps_val: true
-            value: false
-            icon: "mdi:led-off"
-          - dps_val: false
-            value: true
-            icon: "mdi:led-on"
         name: switch
   - entity: switch
     name: Open window detector

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

@@ -8,7 +8,7 @@ primary_entity:
       name: switch
 secondary_entities:
   - entity: light
-    name: Night light
+    translation_key: nightlight
     dps:
       - id: 27
         name: switch

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

@@ -62,8 +62,7 @@ secondary_entities:
         type: boolean
         name: switch
   - entity: light
-    icon: "mdi:alarm-light"
-    name: Indicator
+    translation_key: indicator
     category: config
     dps:
       - id: 17

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

@@ -214,9 +214,8 @@ secondary_entities:
           - dps_val: "5"
             value: Rightmost
   - entity: light
-    name: Display
+    translation_key: display
     category: config
-    icon: "mdi:television-ambient-light"
     dps:
       - id: 123
         type: hex

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

@@ -249,9 +249,8 @@ secondary_entities:
           - dps_val: "child"
             value: "Child"
   - entity: light
-    name: Display
+    translation_key: display
     category: config
-    icon: "mdi:television-ambient-light"
     dps:
       - id: 123
         type: hex

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

@@ -103,7 +103,7 @@ secondary_entities:
           - dps_val: case_3
             value: Custom
   - entity: light
-    name: LED
+    translation_key: indicator
     category: config
     dps:
       - id: 106

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

@@ -66,9 +66,8 @@ secondary_entities:
         type: boolean
         name: switch
   - entity: light
-    name: Backlight
+    translation_key: backlight
     category: config
-    icon: "mdi:television-ambient-light"
     dps:
       - id: 13
         name: switch

+ 1 - 6
custom_components/tuya_local/devices/single_switch_with_backlight.yaml

@@ -53,14 +53,9 @@ secondary_entities:
           - dps_val: none
             value: "Off"
   - entity: light
-    name: "Backlight"
+    translation_key: backlight
     category: config
     dps:
       - id: 16
         name: switch
         type: boolean
-        mapping:
-          - dps_val: true
-            icon: "mdi:lightbulb-on"
-          - dps_val: false
-            icon: "mdi:lightbulb-outline"

+ 1 - 6
custom_components/tuya_local/devices/smartmi_e1_purifier.yaml

@@ -25,17 +25,12 @@ primary_entity:
       name: fault_code
 secondary_entities:
   - entity: light
-    name: Indicators
+    translation_key: indicator
     category: config
     dps:
       - id: 8
         name: switch
         type: boolean
-        mapping:
-          - dps_val: true
-            icon: "mdi:led-on"
-          - dps_val: false
-            icon: "mdi:led-off"
   - entity: sensor
     name: Filter usage
     category: diagnostic

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

@@ -69,7 +69,7 @@ secondary_entities:
         type: boolean
         name: lock
   - entity: light
-    name: Display
+    translation_key: display
     category: config
     dps:
       - id: 9

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

@@ -42,7 +42,7 @@ secondary_entities:
           - scale: 60
         unit: min
   - entity: light
-    name: Backlight
+    translation_key: backlight
     category: config
     dps:
       - id: 16

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

@@ -61,7 +61,7 @@ secondary_entities:
                   - dps_val: memory
                     value: "Last state"
   - entity: light
-    name: Backlight
+    translation_key: backlight
     category: config
     dps:
       - id: 16

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

@@ -76,7 +76,7 @@ secondary_entities:
         type: boolean
         name: lock
   - entity: light
-    name: Display
+    translation_key: display
     category: config
     dps:
       - id: 103

+ 9 - 17
custom_components/tuya_local/devices/starlight_heatpump.yaml

@@ -245,17 +245,15 @@ secondary_entities:
             value: "Elderly"
           - dps_val: "child"
             value: "Child"
-  - entity: switch
-    name: Display
+  - entity: light
+    translation_key: display
     category: config
-    icon: "mdi:lightbulb-on-outline"
     dps:
       - id: 123
         type: hex
         name: switch
         mapping:
-          - scale: 1
-            mask: "0008"
+          - mask: "0008"
   - entity: switch
     name: Buzzer
     category: config
@@ -265,8 +263,7 @@ secondary_entities:
         type: hex
         name: switch
         mapping:
-          - scale: 1
-            mask: "0010"
+          - mask: "0010"
   - entity: switch
     name: Soft wind
     category: config
@@ -276,8 +273,7 @@ secondary_entities:
         type: hex
         name: switch
         mapping:
-          - scale: 1
-            mask: "8000"
+          - mask: "8000"
   - entity: switch
     name: Anti-mildew
     category: config
@@ -287,8 +283,7 @@ secondary_entities:
         type: hex
         name: switch
         mapping:
-          - scale: 1
-            mask: "0100"
+          - mask: "0100"
   - entity: switch
     name: Health
     category: config
@@ -298,8 +293,7 @@ secondary_entities:
         type: hex
         name: switch
         mapping:
-          - scale: 1
-            mask: "0020"
+          - mask: "0020"
   - entity: switch
     translation_key: anti_frost
     category: config
@@ -308,8 +302,7 @@ secondary_entities:
         type: hex
         name: switch
         mapping:
-          - scale: 1
-            mask: "1000"
+          - mask: "1000"
   - entity: switch
     name: Eco mode
     category: config
@@ -319,8 +312,7 @@ secondary_entities:
         type: hex
         name: switch
         mapping:
-          - scale: 1
-            mask: "0001"
+          - mask: "0001"
   - entity: binary_sensor
     class: problem
     category: diagnostic

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

@@ -356,9 +356,8 @@ secondary_entities:
         type: boolean
         name: lock
   - entity: light
-    name: Backlight
+    translation_key: backlight
     category: config
-    icon: "mdi:television-ambient-light"
     dps:
       - id: 44
         type: integer

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

@@ -143,7 +143,7 @@ secondary_entities:
         type: bitfield
         name: fault_code
   - entity: light
-    name: Display
+    translation_key: display
     category: config
     dps:
       - id: 103

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

@@ -110,8 +110,7 @@ secondary_entities:
         type: boolean
         name: switch
   - entity: light
-    name: Backlight
-    icon: "mdi:television-ambient-light"
+    translation_key: backlight
     category: config
     dps:
       - id: 13

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

@@ -35,8 +35,7 @@ secondary_entities:
             value: celsius
         optional: true
   - entity: light
-    name: Display
-    icon: "mdi:television-ambient-light"
+    translation_key: display
     category: config
     dps:
       - id: 21

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

@@ -90,8 +90,7 @@ secondary_entities:
           - dps_val: Level4
             value: "100%"
   - entity: light
-    name: Indicator
-    icon: "mdi:led-on"
+    translation_key: indicator
     category: config
     dps:
       - id: 108

+ 3 - 6
custom_components/tuya_local/devices/touchstone_sideline_fireplace.yaml

@@ -91,9 +91,8 @@ secondary_entities:
           - dps_val: f
             value: fahrenheit
   - entity: light
-    name: Flame
+    translation_key: flame
     category: config
-    icon: "mdi:fire"
     dps:
       - id: 102
         name: brightness
@@ -126,9 +125,8 @@ secondary_entities:
           - dps_val: "6"
             value: "Blue+Yellow"
   - entity: light
-    name: Embers
+    translation_key: embers
     category: config
-    icon: "mdi:campfire"
     dps:
       - id: 109
         name: brightness
@@ -179,9 +177,8 @@ secondary_entities:
           - dps_val: "12"
             value: "Mystery"
   - entity: light
-    name: Coal bed
+    translation_key: logs
     category: config
-    icon: "mdi:dots-triangle"
     dps:
       - id: 105
         name: brightness

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

@@ -190,8 +190,7 @@ secondary_entities:
           - dps_val: f
             value: fahrenheit
   - entity: light
-    name: LCD brightness
-    icon: "mdi:television-ambient-light"
+    translation_key: display
     category: config
     dps:
       - id: 106

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

@@ -4,8 +4,7 @@ products:
     name: Loginovo Ambient TV Sync Light
 primary_entity:
   entity: light
-  name: Backlight
-  icon: mdi:television-shimmer
+  translation_key: backlight
   dps:
     - id: 102
       type: boolean

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

@@ -190,8 +190,7 @@ secondary_entities:
         type: boolean
         name: switch
   - entity: light
-    name: Display
-    icon: "mdi:numeric"
+    translation_key: display
     category: config
     dps:
       - id: 13

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

@@ -167,8 +167,7 @@ secondary_entities:
           - dps_val: vane_5
             value: Position 5
   - entity: light
-    name: Display
-    icon: "mdi:television-ambient-light"
+    translation_key: display
     category: config
     dps:
       - id: 36

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

@@ -39,7 +39,7 @@ primary_entity:
           value: Frost
 secondary_entities:
   - entity: light
-    name: Display
+    translation_key: display
     dps:
       - id: 101
         name: switch

+ 1 - 7
custom_components/tuya_local/devices/wetair_wawh1210lw_humidifier.yaml

@@ -37,18 +37,12 @@ primary_entity:
       name: unknown_22
 secondary_entities:
   - entity: light
-    name: Display
+    translation_key: display
     category: config
     dps:
       - id: 5
         type: boolean
         name: switch
-        mapping:
-          - dps_val: true
-            icon: "mdi:led-on"
-          - dps_val: false
-            icon: "mdi:led-off"
-
   - entity: switch
     name: Sound
     category: config

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

@@ -56,7 +56,7 @@ primary_entity:
 secondary_entities:
   - entity: light
     category: config
-    name: Display
+    translation_key: display
     dps:
       - id: 101
         type: string

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

@@ -107,7 +107,7 @@ secondary_entities:
           - dps_val: f
             value: F
   - entity: light
-    name: Display
+    translation_key: display
     category: config
     dps:
       - id: 16
@@ -116,10 +116,8 @@ secondary_entities:
         mapping:
           - dps_val: true
             value: false
-            icon: "mdi:led-off"
           - dps_val: false
             value: true
-            icon: "mdi:led-on"
   - entity: select
     category: config
     translation_key: temperature_unit

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

@@ -68,8 +68,7 @@ secondary_entities:
         name: switch
 
   - entity: light
-    name: Indicator
-    icon: "mdi:led-on"
+    translation_key: indicator
     category: config
     dps:
       - id: 104

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

@@ -52,8 +52,7 @@ secondary_entities:
             value: Last state
         optional: true
   - entity: light
-    name: Backlight
-    icon: "mdi:television-ambient-light"
+    translation_key: backlight
     category: config
     dps:
       - id: 13

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

@@ -79,9 +79,8 @@ secondary_entities:
         type: boolean
         name: switch
   - entity: light
-    name: Backlight
+    translation_key: backlight
     category: config
-    icon: "mdi:television-ambient-light"
     dps:
       - id: 103
         type: boolean

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

@@ -46,8 +46,7 @@ primary_entity:
       optional: true
 secondary_entities:
   - entity: light
-    name: Nightlight
-    icon: "mdi:light-recessed"
+    translation_key: nightlight
     dps:
       - id: 5
         name: switch

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

@@ -85,7 +85,7 @@ secondary_entities:
           min: 0
           max: 10
   - entity: light
-    name: Led indicator
+    translation_key: indicator
     category: config
     dps:
       - id: 103

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

@@ -212,8 +212,7 @@ secondary_entities:
         type: boolean
         name: switch
   - entity: light
-    name: Status indicator
-    icon: "mdi:led-on"
+    translation_key: indicator
     category: config
     dps:
       - id: 11

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

@@ -206,8 +206,7 @@ secondary_entities:
         type: boolean
         name: switch
   - entity: light
-    name: Status indicator
-    icon: "mdi:led-on"
+    translation_key: indicator
     category: config
     dps:
       - id: 11

+ 29 - 0
custom_components/tuya_local/icons.json

@@ -28,6 +28,35 @@
                 }
             }
         },
+        "light": {
+            "backlight" {
+                "default": "mdi:television-ambient-light"
+            },
+            "display": {
+                "default": "mdi:clock-digital"
+            },
+            "embers": {
+                "default": "mdi:campfire"
+            },
+            "flame": {
+                "default": "mdi:fire"
+            },
+            "indicator": {
+                "default": "mdi:led-on",
+                "state": {
+                    "off": "mdi:led-off"
+                }
+            },
+            "laser": {
+                "default": "mdi:laser-pointer"
+            },
+            "logs": {
+                "default": "mdi:campfire"
+            },
+            "nightlight" {
+                "default": "mdi:lightbulb-night"
+            }
+        },
         "lock": {
             "child_lock": {
                 "default": "mdi:hand-back-right",

Деякі файли не було показано, через те що забагато файлів було змінено