bht002_gblw_thermostat.yaml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. name: Thermostat
  2. products:
  3. - id: v5214objiaepcaer
  4. name: BHT-002 GBLW
  5. primary_entity:
  6. entity: climate
  7. dps:
  8. - id: 1
  9. name: hvac_mode
  10. type: boolean
  11. mapping:
  12. - dps_val: false
  13. value: "off"
  14. - dps_val: true
  15. constraint: mode
  16. conditions:
  17. - dps_val: manual
  18. value: heat
  19. - dps_val: program
  20. value: auto
  21. - id: 2
  22. name: mode
  23. type: string
  24. - id: 3
  25. name: hvac_action
  26. type: string
  27. optional: true
  28. mapping:
  29. - constraint: hvac_mode
  30. conditions:
  31. - dps_val: false
  32. value: "off"
  33. - dps_val: true
  34. mapping:
  35. - dps_val: Warming
  36. value: heating
  37. - dps_val: "Off"
  38. value: idle
  39. - dps_val: Closed
  40. value: idle
  41. - dps_val: null
  42. value: idle
  43. - id: 16
  44. name: temperature
  45. type: integer
  46. unit: C
  47. range:
  48. min: 50
  49. max: 950
  50. mapping:
  51. - scale: 10
  52. step: 5
  53. - id: 19
  54. name: max_temperature
  55. type: integer
  56. mapping:
  57. - scale: 10
  58. - id: 24
  59. name: current_temperature
  60. type: integer
  61. mapping:
  62. - scale: 10
  63. secondary_entities:
  64. - entity: button
  65. name: Factory reset
  66. class: restart
  67. category: config
  68. dps:
  69. - id: 39
  70. type: boolean
  71. optional: true
  72. name: button
  73. - entity: switch
  74. name: Window detect
  75. category: config
  76. icon: "mdi:window-open-variant"
  77. dps:
  78. - id: 8
  79. type: boolean
  80. name: switch
  81. - entity: lock
  82. translation_key: child_lock
  83. category: config
  84. dps:
  85. - id: 40
  86. type: boolean
  87. name: lock
  88. - entity: switch
  89. translation_key: anti_frost
  90. category: config
  91. dps:
  92. - id: 10
  93. type: boolean
  94. name: switch
  95. - entity: select
  96. name: Temperature sensor
  97. icon: "mdi:thermometer"
  98. category: config
  99. dps:
  100. - id: 43
  101. type: string
  102. name: option
  103. mapping:
  104. - dps_val: in
  105. value: Internal
  106. - dps_val: out
  107. value: External
  108. - entity: number
  109. name: Maximum temperature
  110. category: config
  111. icon: "mdi:thermometer-chevron-up"
  112. dps:
  113. - id: 19
  114. type: integer
  115. name: value
  116. unit: C
  117. range:
  118. min: 350
  119. max: 950
  120. mapping:
  121. - scale: 10
  122. step: 5
  123. - entity: binary_sensor
  124. class: window
  125. category: diagnostic
  126. dps:
  127. - id: 25
  128. type: string
  129. name: sensor
  130. mapping:
  131. - dps_val: "close"
  132. value: false
  133. - dps_val: "open"
  134. value: true
  135. - entity: number
  136. name: Temperature correction
  137. category: config
  138. icon: "mdi:thermometer-check"
  139. dps:
  140. - id: 27
  141. type: integer
  142. name: value
  143. range:
  144. min: -9
  145. max: 9