Przeglądaj źródła

Products cleanup: B

- split products details into manufacturer, model, name as appropriate.
- add model_id to above

This commit covers configs beginning with the letter `b`
Jason Rumney 1 rok temu
rodzic
commit
b9b52e009a
54 zmienionych plików z 122 dodań i 66 usunięć
  1. 6 4
      custom_components/tuya_local/devices/README.md
  2. 2 1
      custom_components/tuya_local/devices/ballu_aura.yaml
  3. 4 2
      custom_components/tuya_local/devices/basic_ir_remote.yaml
  4. 2 1
      custom_components/tuya_local/devices/bauhn_ap5w0624_powerstrip.yaml
  5. 3 2
      custom_components/tuya_local/devices/bcom_intercom_camera.yaml
  6. 2 1
      custom_components/tuya_local/devices/beca_bac002_thermostat_c.yaml
  7. 3 1
      custom_components/tuya_local/devices/beca_bhp6000_thermostat_c.yaml
  8. 3 1
      custom_components/tuya_local/devices/beca_bhp6000_thermostat_f.yaml
  9. 3 1
      custom_components/tuya_local/devices/beca_bhp6000_thermostat_mapped.yaml
  10. 2 1
      custom_components/tuya_local/devices/beca_bht006_thermostat_c.yaml
  11. 2 1
      custom_components/tuya_local/devices/beca_zht002_thermostat_c.yaml
  12. 2 1
      custom_components/tuya_local/devices/beok_tgm50_thermostat.yaml
  13. 5 3
      custom_components/tuya_local/devices/beok_tgr81_thermostat_c.yaml
  14. 3 1
      custom_components/tuya_local/devices/betterlife_bl1500_heater.yaml
  15. 1 1
      custom_components/tuya_local/devices/bht002_gblw_thermostat.yaml
  16. 3 1
      custom_components/tuya_local/devices/ble_adaprox_fingerbot.yaml
  17. 1 1
      custom_components/tuya_local/devices/ble_hct611_watertimer.yaml
  18. 3 2
      custom_components/tuya_local/devices/ble_hu06_lock.yaml
  19. 3 2
      custom_components/tuya_local/devices/ble_orion_lock.yaml
  20. 1 1
      custom_components/tuya_local/devices/ble_pt216_temp_humidity.yaml
  21. 2 1
      custom_components/tuya_local/devices/ble_pulido_p13_lock.yaml
  22. 1 1
      custom_components/tuya_local/devices/ble_smart_plant_moisture.yaml
  23. 3 2
      custom_components/tuya_local/devices/ble_solar_light.yaml
  24. 1 1
      custom_components/tuya_local/devices/ble_tcs024b_smart_plant_moisture.yaml
  25. 6 4
      custom_components/tuya_local/devices/ble_water_valve.yaml
  26. 1 1
      custom_components/tuya_local/devices/ble_yl01_watertester.yaml
  27. 2 1
      custom_components/tuya_local/devices/ble_ysgbs01_lock.yaml
  28. 2 1
      custom_components/tuya_local/devices/blitzwolf_bw_lt31.yaml
  29. 2 1
      custom_components/tuya_local/devices/blitzwolf_bwis6_alarm.yaml
  30. 2 1
      custom_components/tuya_local/devices/blitzwolf_bwsh2_humidifier.yaml
  31. 2 1
      custom_components/tuya_local/devices/blitzwolf_bwsh5_humidifier.yaml
  32. 2 1
      custom_components/tuya_local/devices/blitzwolf_bwshp9_powerstrip.yaml
  33. 3 1
      custom_components/tuya_local/devices/blumfeldt_cosmicbeam_heater.yaml
  34. 2 1
      custom_components/tuya_local/devices/bneta_f1d_petfeeder.yaml
  35. 2 1
      custom_components/tuya_local/devices/bonaire_heater.yaml
  36. 2 1
      custom_components/tuya_local/devices/brade_mc6_thermostat.yaml
  37. 2 1
      custom_components/tuya_local/devices/bresser_smart_thermo_hygrometer.yaml
  38. 2 1
      custom_components/tuya_local/devices/bresser_weather_station.yaml
  39. 2 1
      custom_components/tuya_local/devices/breville_airdynamic3d_fan.yaml
  40. 2 1
      custom_components/tuya_local/devices/breville_easyair_purifier.yaml
  41. 3 1
      custom_components/tuya_local/devices/breville_lad208_dehumidifier.yaml
  42. 2 1
      custom_components/tuya_local/devices/breville_smart_air_viral_protect_plus.yaml
  43. 2 1
      custom_components/tuya_local/devices/breville_smartairconnect_purifier.yaml
  44. 1 1
      custom_components/tuya_local/devices/briliant_fan_light.yaml
  45. 2 1
      custom_components/tuya_local/devices/brilliant_double_switch.yaml
  46. 1 1
      custom_components/tuya_local/devices/brilliant_quad_powerstrip_usb.yaml
  47. 2 1
      custom_components/tuya_local/devices/brilliant_quad_switch.yaml
  48. 2 1
      custom_components/tuya_local/devices/brilliant_single_switch.yaml
  49. 2 1
      custom_components/tuya_local/devices/brilliant_triple_switch.yaml
  50. 1 1
      custom_components/tuya_local/devices/brizlabs_string_lights.yaml
  51. 1 1
      custom_components/tuya_local/devices/bstuokey_access_keypad.yaml
  52. 3 1
      custom_components/tuya_local/devices/bstuokey_invisible_lock.yaml
  53. 2 1
      custom_components/tuya_local/devices/bvf_cp1_heater.yaml
  54. 1 0
      tests/test_device_config.py

+ 6 - 4
custom_components/tuya_local/devices/README.md

@@ -25,10 +25,12 @@ have an `id` specified, which corresponds to the product_id from cloud device
 info, or productKey from the local discovery. If these are different, it is
 info, or productKey from the local discovery. If these are different, it is
 recommended that listings are created for both.
 recommended that listings are created for both.
 
 
-In addition to the id, the `manufacturer` and `model` can be listed here.
-In future the intention is to display these in the Device info panel for the
-device. The `name` can also be overridden here with a more specific name to
-be used in future in place of the generic name at the top of the config.
+In addition to the id, the `manufacturer`, `model` and `model_id` (if
+the model has both a name and a more code like id) can be listed here.
+In future the intention is to display these in the Device info panel
+for the device. The `name` can also be overridden here with a more
+specific name to be used in future in place of the generic name at the
+top of the config.
 
 
 ### `entities`
 ### `entities`
 
 

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

@@ -1,7 +1,8 @@
 name: Air conditioner
 name: Air conditioner
 products:
 products:
   - id: r9lwbruavixdspeb
   - id: r9lwbruavixdspeb
-    name: "Ballu Aura  9/12"
+    manufacturer: Ballu
+    model: Aura 9/12
 entities:
 entities:
   - entity: climate
   - entity: climate
     dps:
     dps:

+ 4 - 2
custom_components/tuya_local/devices/basic_ir_remote.yaml

@@ -1,9 +1,11 @@
 name: Remote controller
 name: Remote controller
 products:
 products:
   - id: mjffeakbzlnfxpzt
   - id: mjffeakbzlnfxpzt
-    name: UanTii S06/S18 IR
+    manufacturer: UanTii
+    model: S06/S18 IR
   - id: ejv37o6yz9vtxcuo
   - id: ejv37o6yz9vtxcuo
-    name: RightSitu S18 IR
+    manufacturer: RightSitu
+    model: S18 IR
 entities:
 entities:
   - entity: remote
   - entity: remote
     dps:
     dps:

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

@@ -1,7 +1,8 @@
 name: 5-way powerstrip
 name: 5-way powerstrip
 products:
 products:
   - id: bf152cecbcf4180771k2lq
   - id: bf152cecbcf4180771k2lq
-    name: BAUHN AP5W-0624
+    manufacturer: Bauhn
+    model: AP5W-0624
 entities:
 entities:
   - entity: switch
   - entity: switch
     translation_key: outlet_x
     translation_key: outlet_x

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

@@ -1,7 +1,8 @@
-name: BCom doorbell
+name: Doorbell
 products:
 products:
   - id: bf71b225dc6dd70835wlbt
   - id: bf71b225dc6dd70835wlbt
-    name: Bcom Majic IPBox
+    manufacturer: Bcom
+    model: Majic IPBox
 entities:
 entities:
   - entity: camera
   - entity: camera
     dps:
     dps:

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

@@ -3,7 +3,8 @@ name: Thermostat
 # if you have a different setup, file a new device report
 # if you have a different setup, file a new device report
 products:
 products:
   - id: N8bUqOZ8HBQjU0K0
   - id: N8bUqOZ8HBQjU0K0
-    name: Becasmart BAC005
+    manufacturer: Beca
+    model: BAC005
 entities:
 entities:
   - entity: climate
   - entity: climate
     dps:
     dps:

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

@@ -1,6 +1,8 @@
-name: Beca BHP-6000 thermostat C
+name: Thermostat
 products:
 products:
   - id: drwezxukumr9ohuh
   - id: drwezxukumr9ohuh
+    manufacturer: Beca
+    model: BHP-6000 (⁰C)
 entities:
 entities:
   - entity: climate
   - entity: climate
     translation_only_key: thermostat
     translation_only_key: thermostat

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

@@ -1,6 +1,8 @@
-name: Beca BHP-6000 thermostat F
+name: Thermostat
 products:
 products:
   - id: drwezxukumr9ohuh
   - id: drwezxukumr9ohuh
+    manufacturer: Beca
+    model: BHP-6000 (⁰F)
 legacy_type: beca_bhp6000_thermostat
 legacy_type: beca_bhp6000_thermostat
 entities:
 entities:
   - entity: climate
   - entity: climate

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

@@ -1,6 +1,8 @@
-name: Beca BHP-6000 thermostat mapped
+name: Thermostat
 products:
 products:
   - id: drwezxukumr9ohuh
   - id: drwezxukumr9ohuh
+    manufacturer: Beca
+    model: BHP-6000 (mapped ⁰C)
 entities:
 entities:
   - entity: climate
   - entity: climate
     translation_only_key: thermostat
     translation_only_key: thermostat

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

@@ -1,7 +1,8 @@
 name: Thermostat
 name: Thermostat
 products:
 products:
   - id: 7jzdtn4pwujmtskd
   - id: 7jzdtn4pwujmtskd
-    name: Beca BAC-006 fancoil
+    manufacturer: Beca
+    model: BAC-006 fancoil
 entities:
 entities:
   - entity: climate
   - entity: climate
     dps:
     dps:

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

@@ -1,7 +1,8 @@
 name: Thermostat
 name: Thermostat
 products:
 products:
   - id: aoclfnxz
   - id: aoclfnxz
-    name: MOES Zigbee Thermostat
+    manufacturer: Moes
+    name: Zigbee Thermostat
 entities:
 entities:
   - entity: climate
   - entity: climate
     dps:
     dps:

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

@@ -1,7 +1,8 @@
 name: Thermostat
 name: Thermostat
 products:
 products:
   - id: m3j5wouhgsvjlma9
   - id: m3j5wouhgsvjlma9
-    name: Beok TGM50-WIFI-WP
+    manufacturer: Beok
+    model: TGM50-WIFI-WP
 entities:
 entities:
   - entity: climate
   - entity: climate
     translation_only_key: thermostat
     translation_only_key: thermostat

+ 5 - 3
custom_components/tuya_local/devices/beok_tgr81_thermostat_c.yaml

@@ -1,10 +1,12 @@
-name: Beok TGR81 thermostat
+name: Thermostat
 legacy_type: avatto_me81_thermostat
 legacy_type: avatto_me81_thermostat
 products:
 products:
   - id: gw173aldekvpzalg
   - id: gw173aldekvpzalg
-    name: Avatto WT200W-EH
+    manufacturer: Avatto
+    model: WT200W-EH
   - id: gogb05wrtredz3bs
   - id: gogb05wrtredz3bs
-    name: Avatto ME81
+    manufacturer: Avatto
+    model: ME81
 entities:
 entities:
   - entity: climate
   - entity: climate
     translation_only_key: thermostat
     translation_only_key: thermostat

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

@@ -1,6 +1,8 @@
-name: Betterlife BL1500 heater
+name: Heater
 products:
 products:
   - id: ptiFKEk2bgAslxOA
   - id: ptiFKEk2bgAslxOA
+    manufacturer: Betterlife
+    model: BL1500
 entities:
 entities:
   - entity: climate
   - entity: climate
     translation_only_key: heater
     translation_only_key: heater

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

@@ -1,7 +1,7 @@
 name: Thermostat
 name: Thermostat
 products:
 products:
   - id: v5214objiaepcaer
   - id: v5214objiaepcaer
-    name: BHT-002 GBLW
+    model: BHT-002 GBLW
 entities:
 entities:
   - entity: climate
   - entity: climate
     dps:
     dps:

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

@@ -1,6 +1,8 @@
-name: BLE ADAPROX Fingerbot
+name: Fingerbot
 products:
 products:
   - id: yiihr7zh
   - id: yiihr7zh
+    manufacturer: Adaprox
+    name: BLE fingerbot
 entities:
 entities:
   - entity: switch
   - entity: switch
     dps:
     dps:

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

@@ -1,7 +1,7 @@
 name: Water timer
 name: Water timer
 products:
 products:
   - id: tqzkwarw
   - id: tqzkwarw
-    name: HCT-611
+    model: HCT-611
 entities:
 entities:
   - entity: valve
   - entity: valve
     class: water
     class: water

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

@@ -1,9 +1,10 @@
 name: Smart lock
 name: Smart lock
 products:
 products:
   - id: stugc8dl
   - id: stugc8dl
-    name: HU06
+    model: HU06
   - id: xicdxood
   - id: xicdxood
-    name: Impression ImSmart C502
+    manufacturer: Impression
+    model: ImSmart C502
 entities:
 entities:
   - entity: lock
   - entity: lock
     dps:
     dps:

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

@@ -1,7 +1,8 @@
-name: Orion BLE lock
+name: Door lock
 products:
 products:
   - id: a6nttc41
   - id: a6nttc41
-    name: Orion DL021HA
+    manufacturer: Orion
+    model: DL021HA
 entities:
 entities:
   - entity: lock
   - entity: lock
     dps:
     dps:

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

@@ -1,7 +1,7 @@
 name: Temperature and humidity sensor
 name: Temperature and humidity sensor
 products:
 products:
   - id: 04nb6kdt
   - id: 04nb6kdt
-    name: PT216 / PT19DB-2
+    model: PT216 / PT19DB-2
 entities:
 entities:
   - entity: sensor
   - entity: sensor
     class: temperature
     class: temperature

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

@@ -1,7 +1,8 @@
 name: Smart Lock
 name: Smart Lock
 products:
 products:
   - id: kdq0tdbz
   - id: kdq0tdbz
-    name: Pulido ‎P13
+    manufacturer: Pulido
+    model: ‎P13
 entities:
 entities:
   - entity: lock
   - entity: lock
     dps:
     dps:

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

@@ -1,7 +1,7 @@
 name: Moisture sensor
 name: Moisture sensor
 products:
 products:
   - id: gvygg3m8
   - id: gvygg3m8
-    name: SGS01
+    model: SGS01
 entities:
 entities:
   - entity: sensor
   - entity: sensor
     name: Soil Moisture
     name: Soil Moisture

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

@@ -1,7 +1,8 @@
-name: Solar garden light
+name: Motion light
 products:
 products:
   - id: bt1raf68
   - id: bt1raf68
-    name: Smart Ape solar garden light
+    manufacturer: Smart Ape
+    name: Solar garden light
 entities:
 entities:
   - entity: light
   - entity: light
     dps:
     dps:

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

@@ -1,7 +1,7 @@
 name: Soil moisture sensor
 name: Soil moisture sensor
 products:
 products:
   - id: j5mynqs3
   - id: j5mynqs3
-    name: TCS024B
+    model: TCS024B
 entities:
 entities:
   - entity: sensor
   - entity: sensor
     class: moisture
     class: moisture

+ 6 - 4
custom_components/tuya_local/devices/ble_water_valve.yaml

@@ -2,13 +2,15 @@ name: Water Timer Valve
 legacy_type: ble_johgee_water_valve
 legacy_type: ble_johgee_water_valve
 products:
 products:
   - id: c8800fd30884068f
   - id: c8800fd30884068f
-    name: Johgee Water Timer Valve
+    manufacturer: Johgee
   - id: bfc513e1f9d4d259a10wzu
   - id: bfc513e1f9d4d259a10wzu
-    name: Diivoo Water Timer Valve WT-03
+    manufacturer: Diivoo
+    model: WT-03
   - id: nxquc5lb
   - id: nxquc5lb
-    name: SOP10
+    model: SOP10
   - id: so5ybnw9
   - id: so5ybnw9
-    name: BWC-495.bt Royal Gardineer
+    manufacturer: Royal Gardineer
+    model: BWC-495.bt
 entities:
 entities:
   - entity: valve
   - entity: valve
     class: water
     class: water

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

@@ -1,7 +1,7 @@
 name: Water quality monitor
 name: Water quality monitor
 products:
 products:
   - id: v1jqz5cy
   - id: v1jqz5cy
-    name: BLE-YL01 Waterquality tester
+    model: BLE-YL01
 entities:
 entities:
   - entity: sensor
   - entity: sensor
     icon: "mdi:pool-thermometer"
     icon: "mdi:pool-thermometer"

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

@@ -1,7 +1,8 @@
 name: Door lock
 name: Door lock
 products:
 products:
   - id: isk2p555
   - id: isk2p555
-    name: YSG BS01 BLE lock
+    manufacturer: YSG
+    model: BS01
 entities:
 entities:
   - entity: lock
   - entity: lock
     dps:
     dps:

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

@@ -1,7 +1,8 @@
 name: LED strip
 name: LED strip
 products:
 products:
   - id: khu3zzkkjemj6oat
   - id: khu3zzkkjemj6oat
-    name: Blitzwolf BW-LT31
+    manufacturer: Blitzwolf
+    model: BW-LT31
 entities:
 entities:
   - entity: light
   - entity: light
     icon: "mdi:led-strip-variant"
     icon: "mdi:led-strip-variant"

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

@@ -1,7 +1,8 @@
 name: Alarm system
 name: Alarm system
 products:
 products:
   - id: gcymopbbssihh6h2
   - id: gcymopbbssihh6h2
-    name: BlitzWolf BW-IS6
+    manufacturer: BlitzWolf
+    model: BW-IS6
 entities:
 entities:
   - entity: alarm_control_panel
   - entity: alarm_control_panel
     dps:
     dps:

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

@@ -2,7 +2,8 @@
 name: Humidifier
 name: Humidifier
 products:
 products:
   - id: 20268362d8bfc0080ec9
   - id: 20268362d8bfc0080ec9
-    name: BlitzWolf BWSH2
+    manufacturer: BlitzWolf
+    model: BWSH2
 entities:
 entities:
   - entity: fan
   - entity: fan
     icon: "mdi:humidifier"
     icon: "mdi:humidifier"

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

@@ -1,7 +1,8 @@
 name: Humidifier
 name: Humidifier
 products:
 products:
   - id: lqzme7o0kzhumdxr
   - id: lqzme7o0kzhumdxr
-    name: BlitzWolf BWSH5
+    manufacturer: BlitzWolf
+    model: BWSH5
 entities:
 entities:
   - entity: humidifier
   - entity: humidifier
     class: humidifier
     class: humidifier

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

@@ -1,7 +1,8 @@
 name: 3 outlet + USB powerstrip
 name: 3 outlet + USB powerstrip
 products:
 products:
   - id: 4es44udrj48pqtlb
   - id: 4es44udrj48pqtlb
-    name: BlitzWolf SHP-9
+    manufacturer: BlitzWolf
+    model: SHP-9
 entities:
 entities:
   - entity: switch
   - entity: switch
     class: outlet
     class: outlet

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

@@ -1,7 +1,9 @@
 name: Heater
 name: Heater
 products:
 products:
   - id: maxyau6xjalwq5id
   - id: maxyau6xjalwq5id
-    name: Blumfeltd Cosmic Beam Smart 24 IR radiant heater
+    manufacturer: Blumfeltd
+    model: Cosmic Beam Smart 24
+    name: IR radiant heater
 entities:
 entities:
   - entity: climate
   - entity: climate
     dps:
     dps:

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

@@ -1,7 +1,8 @@
 name: Pet feeder
 name: Pet feeder
 products:
 products:
   - id: aehfntztbgk0nf8e
   - id: aehfntztbgk0nf8e
-    name: BNETA F1-D
+    manufacturer: BNETA
+    model: F1-D
 entities:
 entities:
   - entity: light
   - entity: light
     translation_key: indicator
     translation_key: indicator

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

@@ -1,7 +1,8 @@
 name: Electric Heater
 name: Electric Heater
 products:
 products:
   - id: xto0qf9xem5bi7sj
   - id: xto0qf9xem5bi7sj
-    name: Bonaire HPC5200020
+    manufacturer: Bonaire
+    model: HPC5200020
 entities:
 entities:
   - entity: climate
   - entity: climate
     translation_only_key: heater
     translation_only_key: heater

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

@@ -1,7 +1,8 @@
 name: HVAC thermostat
 name: HVAC thermostat
 products:
 products:
   - id: jnchsgfzhp5wytun
   - id: jnchsgfzhp5wytun
-    name: Brade MC6
+    manufacturer: Brade
+    model: MC6
 entities:
 entities:
   - entity: climate
   - entity: climate
     dps:
     dps:

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

@@ -1,7 +1,8 @@
 name: Thermo hygrometer
 name: Thermo hygrometer
 products:
 products:
   - id: xpxdr5q6vc8aztq0
   - id: xpxdr5q6vc8aztq0
-    name: Bresser 7-channel
+    manufacturer: Bresser
+    name: "7-channel thermo-hygrometer"
 entities:
 entities:
   - entity: sensor
   - entity: sensor
     class: temperature
     class: temperature

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

@@ -3,7 +3,8 @@
 name: Weather station
 name: Weather station
 products:
 products:
   - id: 8qk6p78udvbjwlof
   - id: 8qk6p78udvbjwlof
-    name: Bresser C6085A
+    manufacturer: Bresser
+    model: ClimateConnect C6085A
 entities:
 entities:
   - entity: sensor
   - entity: sensor
     name: Indoor temperature
     name: Indoor temperature

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

@@ -1,7 +1,8 @@
 name: Air circulator
 name: Air circulator
 products:
 products:
   - id: wpkdomrtayuzuqvc
   - id: wpkdomrtayuzuqvc
-    name: Breville AirDynamic 3D
+    manufacturer: Breville
+    model: AirDynamic 3D
 entities:
 entities:
   - entity: fan
   - entity: fan
     dps:
     dps:

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

@@ -1,7 +1,8 @@
 name: Air purifier
 name: Air purifier
 products:
 products:
   - id: k2mlahbu9v4xxdlb
   - id: k2mlahbu9v4xxdlb
-    name: Breville Easy Air
+    manufacturer: Breville
+    model: Easy Air
 entities:
 entities:
   - entity: fan
   - entity: fan
     icon: "mdi:air-purifier"
     icon: "mdi:air-purifier"

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

@@ -1,7 +1,9 @@
 name: Dehumidifier
 name: Dehumidifier
 products:
 products:
   - id: 6cad6hhp5kbwbtyq
   - id: 6cad6hhp5kbwbtyq
-    name: Breville Smart Dry Connect Dehumidifier (LAD208)
+    manufacturer: Breville
+    model: Smart Dry Connect
+    model_id: LAD208
 entities:
 entities:
   - entity: humidifier
   - entity: humidifier
     class: dehumidifier
     class: dehumidifier

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

@@ -1,7 +1,8 @@
 name: Air purifier
 name: Air purifier
 products:
 products:
   - id: "emh1sylyfw7n2b50"
   - id: "emh1sylyfw7n2b50"
-    name: Breville Smart Air Plus
+    manufacturer: Breville
+    model: Smart Air Plus
 entities:
 entities:
   - entity: fan
   - entity: fan
     translation_only_key: fan_with_presets
     translation_only_key: fan_with_presets

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

@@ -1,7 +1,8 @@
 name: Air purifier
 name: Air purifier
 products:
 products:
   - id: tltdxtehttjbkjni
   - id: tltdxtehttjbkjni
-    name: Breville Smart Air Connect
+    manufacturer: Breville
+    model: Smart Air Connect
 entities:
 entities:
   - entity: fan
   - entity: fan
     translation_only_key: fan_with_presets
     translation_only_key: fan_with_presets

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

@@ -1,7 +1,7 @@
 name: Ceiling Fan
 name: Ceiling Fan
 products:
 products:
   - id: q0czoqfxdjynmkgj
   - id: q0czoqfxdjynmkgj
-    name: Brilliant Smart Ceiling Fan
+    manufacturer: Brilliant Smart
 entities:
 entities:
   - entity: fan
   - entity: fan
     translation_key: fan_with_presets
     translation_key: fan_with_presets

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

@@ -1,7 +1,8 @@
 name: Double wall switch
 name: Double wall switch
 products:
 products:
   - id: 5pyb1usxij5kzs47
   - id: 5pyb1usxij5kzs47
-    name: Briliiant Smart glass wall switch 2-gang
+    manufacturer: Briliiant Smart
+    name: Glass wall switch 2-gang
 entities:
 entities:
   - entity: switch
   - entity: switch
     class: switch
     class: switch

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

@@ -1,7 +1,7 @@
 name: Quad powerstrip with USB
 name: Quad powerstrip with USB
 products:
 products:
   - id: keyphg5es7xsedyr
   - id: keyphg5es7xsedyr
-    name: Brilliant Smart Quad Powerstrip with USB
+    manufacturer: Brilliant Smart
 entities:
 entities:
   - entity: switch
   - entity: switch
     translation_key: outlet_x
     translation_key: outlet_x

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

@@ -1,7 +1,8 @@
 name: Quad wall switch
 name: Quad wall switch
 products:
 products:
   - id: kopqi7ax9pwi7nr2
   - id: kopqi7ax9pwi7nr2
-    name: Brilliant Smart glass wall switch 4-gang
+    manufacturer: Brilliant Smart
+    name: Glass wall switch 4-gang
 entities:
 entities:
   - entity: switch
   - entity: switch
     class: switch
     class: switch

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

@@ -1,7 +1,8 @@
 name: Wall switch
 name: Wall switch
 products:
 products:
   - id: me0f991hyvz5uaew
   - id: me0f991hyvz5uaew
-    name: Briliiant Smart glass wall switch 1-gang
+    manufacturer: Briliiant Smart
+    name: Glass wall switch 1-gang
 entities:
 entities:
   - entity: switch
   - entity: switch
     class: switch
     class: switch

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

@@ -1,7 +1,8 @@
 name: Triple wall switch
 name: Triple wall switch
 products:
 products:
   - id: o2epqysxigahd7mn
   - id: o2epqysxigahd7mn
-    name: Briliiant Smart glass wall switch 3-gang
+    manufacturer: Briliiant Smart
+    name: Glass wall switch 3-gang
 entities:
 entities:
   - entity: switch
   - entity: switch
     class: switch
     class: switch

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

@@ -1,7 +1,7 @@
 name: String lights
 name: String lights
 # products:
 # products:
 #   - id: UNKNOWN
 #   - id: UNKNOWN
-#     name: Brizlabs string lights
+#     manufacturer: Brizlabs
 entities:
 entities:
   - entity: light
   - entity: light
     dps:
     dps:

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

@@ -1,7 +1,7 @@
 name: Access control keypad
 name: Access control keypad
 products:
 products:
   - id: 5k8h97qska6pf5cm
   - id: 5k8h97qska6pf5cm
-    name: BSTUOKEY keypad
+    manufacturer: BSTUOKEY
 entities:
 entities:
   - entity: lock
   - entity: lock
     dps:
     dps:

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

@@ -1,7 +1,9 @@
 name: Door lock
 name: Door lock
 products:
 products:
   - id: kpn4zaf7
   - id: kpn4zaf7
-    name: BSTUOKEY RX2052 invisible induction lock
+    manufacturer: BSTUOKEY
+    model: RX2052
+    name: Invisible induction lock
 entities:
 entities:
   - entity: lock
   - entity: lock
     dps:
     dps:

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

@@ -1,7 +1,8 @@
 name: Heater
 name: Heater
 products:
 products:
   - id: t2htqaryl4gymeuv
   - id: t2htqaryl4gymeuv
-    name: BVP CP-1
+    manufacturer: BVP
+    model: CP-1
 entities:
 entities:
   - entity: climate
   - entity: climate
     translation_only_key: heater
     translation_only_key: heater

+ 1 - 0
tests/test_device_config.py

@@ -27,6 +27,7 @@ PRODUCT_SCHEMA = vol.Schema(
         vol.Optional("name"): str,
         vol.Optional("name"): str,
         vol.Optional("manufacturer"): str,
         vol.Optional("manufacturer"): str,
         vol.Optional("model"): str,
         vol.Optional("model"): str,
+        vol.Optional("model_id"): str,
     }
     }
 )
 )
 CONDMAP_SCHEMA = vol.Schema(
 CONDMAP_SCHEMA = vol.Schema(