beca_bht002_thermostat_c.yaml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. name: Thermostat
  2. legacy_type: beca_bht6000_thermostat_c
  3. products:
  4. - id: IAYz2WK1th0cMLmL
  5. name: Beca BHT-002 / MJZM 16A-3000BH
  6. primary_entity:
  7. entity: climate
  8. dps:
  9. - id: 1
  10. type: boolean
  11. name: hvac_mode
  12. mapping:
  13. - dps_val: false
  14. value: "off"
  15. - dps_val: true
  16. constraint: mode
  17. conditions:
  18. - dps_val: "0"
  19. value: auto
  20. - dps_val: "1"
  21. value: heat
  22. - dps_val: null
  23. value: heat
  24. hidden: true
  25. - id: 2
  26. type: integer
  27. name: temperature
  28. unit: C
  29. range:
  30. min: 10
  31. max: 70
  32. mapping:
  33. - scale: 2
  34. - id: 3
  35. type: integer
  36. name: current_temperature
  37. mapping:
  38. - scale: 2
  39. - id: 4
  40. type: string
  41. name: mode
  42. optional: true
  43. hidden: true
  44. - id: 5
  45. type: boolean
  46. name: preset_mode
  47. mapping:
  48. - dps_val: true
  49. value: eco
  50. - dps_val: false
  51. value: comfort
  52. - id: 103
  53. type: string
  54. # There are many variants of BHT-002 on the market, not all support this
  55. optional: true
  56. name: hvac_action
  57. mapping:
  58. - dps_val: "0"
  59. value: idle
  60. - dps_val: "1"
  61. value: heating
  62. secondary_entities:
  63. - entity: lock
  64. translation_key: child_lock
  65. category: config
  66. dps:
  67. - id: 6
  68. type: boolean
  69. name: lock
  70. - entity: sensor
  71. name: External temperature
  72. class: temperature
  73. dps:
  74. - id: 102
  75. type: integer
  76. # If dp 104 is false, this may not be present
  77. optional: true
  78. name: sensor
  79. unit: C
  80. class: measurement
  81. mapping:
  82. - scale: 2
  83. - id: 104
  84. type: boolean
  85. name: available