bht002_galw_thermostat.yaml 2.8 KB

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