Parcourir la source

climate and water_heater entities now require a temperature unit.

HA now issues a warning instead of defaulting to the system configured
unit if temperature unit is not specified by the integration.

Issue #1855
Jason Rumney il y a 1 an
Parent
commit
e3464dac93
76 fichiers modifiés avec 80 ajouts et 4 suppressions
  1. 1 0
      custom_components/tuya_local/devices/andersson_gsh_heater.yaml
  2. 1 0
      custom_components/tuya_local/devices/aquatech_x6_water_heater.yaml
  3. 1 0
      custom_components/tuya_local/devices/arlec_panel_heater.yaml
  4. 1 0
      custom_components/tuya_local/devices/arlec_panel_heater_v2.yaml
  5. 1 0
      custom_components/tuya_local/devices/awow_th213_thermostat.yaml
  6. 1 0
      custom_components/tuya_local/devices/awow_th213v2_thermostat.yaml
  7. 1 0
      custom_components/tuya_local/devices/beca_bht002_thermostat_c.yaml
  8. 1 0
      custom_components/tuya_local/devices/beca_bht6000_thermostat_c.yaml
  9. 1 0
      custom_components/tuya_local/devices/beok_tgm50_thermostat.yaml
  10. 1 0
      custom_components/tuya_local/devices/beok_tgr81_thermostat_c.yaml
  11. 1 0
      custom_components/tuya_local/devices/beok_tol47_thermostat.yaml
  12. 1 0
      custom_components/tuya_local/devices/betterlife_bl1500_heater.yaml
  13. 1 0
      custom_components/tuya_local/devices/bwt_heatpump.yaml
  14. 1 0
      custom_components/tuya_local/devices/caldo_up_t_wifi.yaml
  15. 3 3
      custom_components/tuya_local/devices/calex_convector_heater.yaml
  16. 1 0
      custom_components/tuya_local/devices/confortotal_minisplit.yaml
  17. 1 0
      custom_components/tuya_local/devices/ecostrad_iq_heating_element.yaml
  18. 2 1
      custom_components/tuya_local/devices/ecostrad_iqceramic_radiator.yaml
  19. 1 0
      custom_components/tuya_local/devices/electriq_12wminv_heatpump.yaml
  20. 1 0
      custom_components/tuya_local/devices/electriq_desd9lw_dehumidifier.yaml
  21. 1 0
      custom_components/tuya_local/devices/etop_ht_thermostat.yaml
  22. 1 0
      custom_components/tuya_local/devices/eurom_600_heater.yaml
  23. 1 0
      custom_components/tuya_local/devices/eurom_600_heater_v2.yaml
  24. 1 0
      custom_components/tuya_local/devices/eurom_601_heater.yaml
  25. 1 0
      custom_components/tuya_local/devices/eurom_800_heater.yaml
  26. 1 0
      custom_components/tuya_local/devices/eurom_alutherm_heater.yaml
  27. 1 0
      custom_components/tuya_local/devices/eurom_alutherm_heater_v2.yaml
  28. 1 0
      custom_components/tuya_local/devices/eurom_saniwallheat2000_heater.yaml
  29. 1 0
      custom_components/tuya_local/devices/eurom_walldesignheat2000_heater.yaml
  30. 1 0
      custom_components/tuya_local/devices/geyserwise_water_heater.yaml
  31. 1 0
      custom_components/tuya_local/devices/goldair_geco_heater.yaml
  32. 1 0
      custom_components/tuya_local/devices/goldair_gpcv_heater.yaml
  33. 1 0
      custom_components/tuya_local/devices/goldair_gpph_heater.yaml
  34. 1 0
      custom_components/tuya_local/devices/hama_radiator_controller.yaml
  35. 1 0
      custom_components/tuya_local/devices/hellnar_heatpump.yaml
  36. 1 0
      custom_components/tuya_local/devices/herschel_irheater.yaml
  37. 1 0
      custom_components/tuya_local/devices/hjz_radiator.yaml
  38. 1 0
      custom_components/tuya_local/devices/hombli_thermostatic_radiator_valve.yaml
  39. 1 0
      custom_components/tuya_local/devices/hotshot2000_heater.yaml
  40. 1 0
      custom_components/tuya_local/devices/hyd_weair_plus_fan.yaml
  41. 1 0
      custom_components/tuya_local/devices/hydrotherm_dynamic_x8_water_heater.yaml
  42. 1 0
      custom_components/tuya_local/devices/inow_heater_element.yaml
  43. 2 0
      custom_components/tuya_local/devices/inow_heater_element_v2.yaml
  44. 1 0
      custom_components/tuya_local/devices/kesser_infrared_wall_heater.yaml
  45. 1 0
      custom_components/tuya_local/devices/klarstein_wonderwall_irheater.yaml
  46. 1 0
      custom_components/tuya_local/devices/kogan_glass_1_7l_kettle.yaml
  47. 1 0
      custom_components/tuya_local/devices/kogan_kahtp_heater.yaml
  48. 1 0
      custom_components/tuya_local/devices/kogan_kashmfp20ba_heater.yaml
  49. 1 0
      custom_components/tuya_local/devices/kogan_kasthfp2kwa_towerheater.yaml
  50. 1 0
      custom_components/tuya_local/devices/kogan_kawfhtp_heater.yaml
  51. 1 0
      custom_components/tuya_local/devices/ledlux_thermostat.yaml
  52. 1 0
      custom_components/tuya_local/devices/moes_bht002_thermostat_c.yaml
  53. 1 0
      custom_components/tuya_local/devices/multi_leaf_dy_107_thermostat.yaml
  54. 1 0
      custom_components/tuya_local/devices/nedis_htpl20f_heater.yaml
  55. 1 0
      custom_components/tuya_local/devices/nedis_ptc_fan_heater.yaml
  56. 1 0
      custom_components/tuya_local/devices/netmostat_n1_thermostat.yaml
  57. 1 0
      custom_components/tuya_local/devices/orion_ptc2000_heater.yaml
  58. 1 0
      custom_components/tuya_local/devices/poolex_qline_heatpump.yaml
  59. 1 0
      custom_components/tuya_local/devices/poolex_silverline_heatpump.yaml
  60. 1 0
      custom_components/tuya_local/devices/poolex_vertigo_heatpump.yaml
  61. 1 0
      custom_components/tuya_local/devices/prosto_ptc2000_heater.yaml
  62. 1 0
      custom_components/tuya_local/devices/purline_m100_heater.yaml
  63. 1 0
      custom_components/tuya_local/devices/qh_gd_elegant_heater.yaml
  64. 1 0
      custom_components/tuya_local/devices/remora_heatpump.yaml
  65. 1 0
      custom_components/tuya_local/devices/rotenso_ronix_heatpump.yaml
  66. 1 0
      custom_components/tuya_local/devices/royalclima_rcb150_ventilation.yaml
  67. 1 0
      custom_components/tuya_local/devices/saswell_c16_thermostat.yaml
  68. 1 0
      custom_components/tuya_local/devices/solaire_vitra_smart_heater_s2.yaml
  69. 1 0
      custom_components/tuya_local/devices/starlight_heatpump.yaml
  70. 1 0
      custom_components/tuya_local/devices/thermex_if50v_waterheater.yaml
  71. 1 0
      custom_components/tuya_local/devices/thermex_lima80v_waterheater.yaml
  72. 1 0
      custom_components/tuya_local/devices/weau_pool_heatpump.yaml
  73. 1 0
      custom_components/tuya_local/devices/weau_pool_heatpump13kW.yaml
  74. 1 0
      custom_components/tuya_local/devices/weau_pool_heatpump_v2.yaml
  75. 1 0
      custom_components/tuya_local/devices/wetair_wch750_heater.yaml
  76. 1 0
      custom_components/tuya_local/devices/woods_cortina_airconditioner.yaml

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

@@ -15,6 +15,7 @@ primary_entity:
     - id: 2
       name: temperature
       type: integer
+      unit: C
       range:
         min: 5
         max: 35

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

@@ -28,6 +28,7 @@ primary_entity:
     - id: 4
       type: integer
       name: temperature
+      unit: C
       range:
         min: 15
         max: 75

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

@@ -17,6 +17,7 @@ primary_entity:
     - id: 2
       name: temperature
       type: integer
+      unit: C
       range:
         min: 5
         max: 35

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

@@ -17,6 +17,7 @@ primary_entity:
     - id: 2
       name: temperature
       type: integer
+      unit: C
       range:
         min: 5
         max: 50

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

@@ -13,6 +13,7 @@ primary_entity:
     - id: 2
       name: temperature
       type: integer
+      unit: C
       range:
         min: 5
         max: 30

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

@@ -13,6 +13,7 @@ primary_entity:
     - id: 2
       name: temperature
       type: integer
+      unit: C
       range:
         min: 5
         max: 30

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

@@ -24,6 +24,7 @@ primary_entity:
     - id: 2
       type: integer
       name: temperature
+      unit: C
       range:
         min: 10
         max: 70

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

@@ -21,6 +21,7 @@ primary_entity:
     - id: 2
       type: integer
       name: temperature
+      unit: C
       range:
         min: 10
         max: 70

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

@@ -28,6 +28,7 @@ primary_entity:
     - id: 2
       name: temperature
       type: integer
+      unit: C
       range:
         min: 50
         max: 300

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

@@ -25,6 +25,7 @@ primary_entity:
     - id: 16
       type: integer
       name: temperature
+      unit: C
       range:
         min: 5
         max: 90

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

@@ -21,6 +21,7 @@ primary_entity:
     - id: 2
       type: integer
       name: temperature
+      unit: C
       mapping:
         - scale: 10
           step: 5

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

@@ -16,6 +16,7 @@ primary_entity:
     - id: 2
       type: integer
       name: temperature
+      unit: C
       range:
         min: 15
         max: 30

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

@@ -18,6 +18,7 @@ primary_entity:
     - id: 2
       name: temperature
       type: integer
+      unit: C
       range:
         min: 5
         max: 40

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

@@ -17,6 +17,7 @@ primary_entity:
     - id: 2
       type: integer
       name: temperature
+      unit: C
       range:
         min: 18
         max: 45

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

@@ -17,7 +17,7 @@ primary_entity:
     - id: 2
       name: temperature
       type: integer
-      unit: 
+      unit: C
       range:
         min: 5
         max: 35
@@ -25,7 +25,7 @@ primary_entity:
       name: current_temperature
       readonly: true
       type: integer
-      unit: 
+      unit: C
       range:
         min: -20
         max: 50
@@ -148,7 +148,7 @@ secondary_entities:
       - id: 106
         type: integer
         name: value
-        unit: 
+        unit: C
         range:
           min: 0
           max: 40

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

@@ -27,6 +27,7 @@ primary_entity:
     - id: 2
       type: integer
       name: temperature
+      unit: C
       range:
         min: 16
         max: 90

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

@@ -26,6 +26,7 @@ primary_entity:
     - id: 16
       type: integer
       name: temperature
+      unit: C
       range:
         min: 70
         max: 300

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

@@ -30,6 +30,7 @@ primary_entity:
     - id: 16
       type: integer
       name: temperature
+      unit: C
       range:
         min: 70
         max: 300
@@ -109,7 +110,7 @@ secondary_entities:
       - id: 27
         type: integer
         name: value
-        unit: C
+        unit: °
         range:
           min: -5
           max: 5

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

@@ -24,6 +24,7 @@ primary_entity:
     - id: 2
       name: temperature
       type: integer
+      unit: C
       range:
         min: 16
         max: 32

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

@@ -70,6 +70,7 @@ primary_entity:
     - id: 101
       type: integer
       name: temperature
+      unit: C
       range:
         min: 16
         max: 30

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

@@ -53,6 +53,7 @@ primary_entity:
     - id: 16
       type: integer
       name: temperature
+      unit: C
       range:
         min: 0
         max: 1000

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

@@ -18,6 +18,7 @@ primary_entity:
         min: 0
         max: 37
       name: temperature
+      unit: C
     - id: 5
       type: integer
       name: current_temperature

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

@@ -17,6 +17,7 @@ primary_entity:
         min: 0
         max: 37
       name: temperature
+      unit: C
     - id: 5
       type: integer
       name: current_temperature

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

@@ -17,6 +17,7 @@ primary_entity:
         min: 0
         max: 37
       name: temperature
+      unit: C
     - id: 3
       type: integer
       name: current_temperature

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

@@ -14,6 +14,7 @@ primary_entity:
     - id: 2
       type: integer
       name: temperature
+      unit: C
       range:
         min: 0
         max: 37

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

@@ -24,6 +24,7 @@ primary_entity:
     - id: 2
       name: temperature
       type: integer
+      unit: C
       range:
         min: 0
         max: 37

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

@@ -22,6 +22,7 @@ primary_entity:
     - id: 2
       name: temperature
       type: integer
+      unit: C
       range:
         min: 0
         max: 37

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

@@ -24,6 +24,7 @@ primary_entity:
     - id: 2
       type: integer
       name: temperature
+      unit: C
       range:
         min: 10
         max: 35

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

@@ -25,6 +25,7 @@ primary_entity:
     - id: 2
       type: integer
       name: temperature
+      unit: C
       range:
         min: 10
         max: 35

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

@@ -49,6 +49,7 @@ primary_entity:
     - id: 103
       type: integer
       name: temperature
+      unit: C
       range:
         min: 30
         max: 75

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

@@ -18,6 +18,7 @@ primary_entity:
         min: 15
         max: 35
       name: temperature
+      unit: C
     - id: 4
       type: integer
       name: current_temperature

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

@@ -18,6 +18,7 @@ primary_entity:
         min: 15
         max: 35
       name: temperature
+      unit: C
     - id: 4
       type: integer
       name: current_temperature

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

@@ -36,6 +36,7 @@ primary_entity:
                 min: 5
                 max: 5
       name: temperature
+      unit: C
     - id: 3
       type: integer
       name: current_temperature

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

@@ -22,6 +22,7 @@ primary_entity:
     - id: 103
       name: temperature
       type: integer
+      unit: C
       range:
         min: 50
         max: 300

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

@@ -24,6 +24,7 @@ primary_entity:
     - id: 2
       name: temperature
       type: integer
+      unit: C
       mapping:
         - scale: 10
           constraint: mode

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

@@ -17,6 +17,7 @@ primary_entity:
     - id: 2
       type: integer
       name: temperature
+      unit: C
       mapping:
         - scale: 10
           step: 10

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

@@ -14,6 +14,7 @@ primary_entity:
     - id: 2
       type: integer
       name: temperature
+      unit: C
       range:
         min: 15
         max: 50

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

@@ -22,6 +22,7 @@ primary_entity:
     - id: 103
       type: integer
       name: temperature
+      unit: C
       mapping:
         - scale: 10
           step: 5

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

@@ -23,6 +23,7 @@ primary_entity:
     - id: 2
       type: integer
       name: temperature
+      unit: C
       range:
         min: 5
         max: 37

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

@@ -63,6 +63,7 @@ primary_entity:
     - id: 9
       name: temperature
       type: integer
+      unit: C
       range:
         min: 1
         max: 30

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

@@ -24,6 +24,7 @@ primary_entity:
     - id: 2
       type: integer
       name: temperature
+      unit: C
       range:
         min: 15
         max: 75

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

@@ -13,6 +13,7 @@ primary_entity:
     - id: 2
       type: integer
       name: temperature
+      unit: C
       range:
         min: 15
         max: 70

+ 2 - 0
custom_components/tuya_local/devices/inow_heater_element_v2.yaml

@@ -14,6 +14,7 @@ primary_entity:
     - id: 102
       type: integer
       name: temperature
+      unit: C
       range:
         min: 30
         max: 70
@@ -79,6 +80,7 @@ secondary_entities:
       - id: 2
         type: integer
         name: temperature
+        unit: C
         range:
           min: 7
           max: 30

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

@@ -17,6 +17,7 @@ primary_entity:
     - id: 2
       name: temperature
       type: integer
+      unit: C
       range:
         min: 10
         max: 30

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

@@ -17,6 +17,7 @@ primary_entity:
     - id: 2
       type: integer
       name: temperature
+      unit: C
       range:
         min: 0
         max: 37

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

@@ -15,3 +15,4 @@ primary_entity:
     - id: 5
       type: integer
       name: current_temperature
+      unit: C

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

@@ -10,6 +10,7 @@ primary_entity:
         min: 15
         max: 35
       name: temperature
+      unit: C
     - id: 3
       type: integer
       name: current_temperature

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

@@ -28,6 +28,7 @@ primary_entity:
         min: 10
         max: 30
       name: temperature
+      unit: C
     - id: 4
       type: integer
       name: current_temperature

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

@@ -20,6 +20,7 @@ primary_entity:
         min: 10
         max: 35
       name: temperature
+      unit: C
     - id: 3
       type: integer
       name: current_temperature

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

@@ -20,6 +20,7 @@ primary_entity:
         min: 5
         max: 40
       name: temperature
+      unit: C
     - id: 4
       type: integer
       name: current_temperature

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

@@ -17,6 +17,7 @@ primary_entity:
     - id: 2
       name: temperature
       type: integer
+      unit: C
       range:
         min: 5
         max: 1220

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

@@ -18,6 +18,7 @@ primary_entity:
     - id: 2
       type: integer
       name: temperature
+      unit: C
       range:
         min: 10
         max: 70

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

@@ -25,6 +25,7 @@ primary_entity:
     - id: 16
       type: integer
       name: temperature
+      unit: C
       range:
         min: 5
         max: 90

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

@@ -14,6 +14,7 @@ primary_entity:
     - id: 2
       type: integer
       name: temperature
+      unit: C
       range:
         min: 15
         max: 35

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

@@ -24,6 +24,7 @@ primary_entity:
     - id: 2
       type: integer
       name: temperature
+      unit: C
       range:
         min: 10
         max: 49

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

@@ -13,6 +13,7 @@ primary_entity:
     - id: 2
       type: integer
       name: temperature
+      unit: C
       range:
         min: 50
         max: 350

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

@@ -14,6 +14,7 @@ primary_entity:
     - id: 2
       type: integer
       name: temperature
+      unit: C
       range:
         min: 18
         max: 45

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

@@ -34,6 +34,7 @@ primary_entity:
     - id: 4
       name: temperature
       type: integer
+      unit: C
       range:
         min: 8
         max: 40

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

@@ -18,6 +18,7 @@ primary_entity:
     - id: 2
       name: temperature
       type: integer
+      unit: C
       range:
         min: 8
         max: 40

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

@@ -18,6 +18,7 @@ primary_entity:
     - id: 2
       name: temperature
       type: integer
+      unit: C
       range:
         min: 8
         max: 40

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

@@ -22,6 +22,7 @@ primary_entity:
     - id: 2
       type: integer
       name: temperature
+      unit: C
       range:
         min: 18
         max: 45

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

@@ -19,6 +19,7 @@ primary_entity:
     - id: 2
       name: temperature
       type: integer
+      unit: C
       range:
         min: 15
         max: 35

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

@@ -17,6 +17,7 @@ primary_entity:
     - id: 2
       type: integer
       name: temperature
+      unit: C
       range:
         min: 10
         max: 45

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

@@ -18,6 +18,7 @@ primary_entity:
     - id: 2
       name: temperature
       type: integer
+      unit: C
       range:
         min: 5
         max: 40

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

@@ -28,6 +28,7 @@ primary_entity:
     - id: 2
       type: integer
       name: temperature
+      unit: C
       range:
         min: 160
         max: 880

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

@@ -137,6 +137,7 @@ secondary_entities:
       - id: 102
         name: temperature
         type: integer
+        unit: C
         range:
           min: 10
           max: 30

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

@@ -8,6 +8,7 @@ primary_entity:
     - id: 2
       name: temperature
       type: integer
+      unit: C
       range:
         min: 50
         max: 400

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

@@ -17,6 +17,7 @@ primary_entity:
     - id: 2
       name: temperature
       type: integer
+      unit: C
       range:
         min: 7
         max: 30

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

@@ -25,6 +25,7 @@ primary_entity:
     - id: 2
       name: temperature
       type: integer
+      unit: C
       range:
         min: 160
         max: 310

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

@@ -26,6 +26,7 @@ primary_entity:
     - id: 104
       type: integer
       name: temperature
+      unit: C
       range:
         min: 15
         max: 75

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

@@ -13,6 +13,7 @@ primary_entity:
     - id: 9
       type: integer
       name: temperature
+      unit: C
       range:
         min: 35
         max: 75

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

@@ -23,6 +23,7 @@ primary_entity:
     - id: 2
       type: integer
       name: temperature
+      unit: C
       range:
         min: 7
         max: 60

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

@@ -23,6 +23,7 @@ primary_entity:
     - id: 2
       type: integer
       name: temperature
+      unit: C
       range:
         min: 7
         max: 60

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

@@ -27,6 +27,7 @@ primary_entity:
     - id: 9
       type: integer
       name: temperature
+      unit: C
       range:
         min: 7
         max: 60

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

@@ -16,6 +16,7 @@ primary_entity:
       range:
         min: 10
         max: 35
+      unit: C
       mapping:
         - constraint: preset_mode
           conditions:

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

@@ -25,6 +25,7 @@ primary_entity:
     - id: 2
       type: integer
       name: temperature
+      unit: C
       range:
         min: 17
         max: 30