bht002_galw_thermostat.yaml 2.9 KB

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