inkbird_itc308_thermostat.yaml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  1. name: Thermostat switch
  2. products:
  3. - id: B0eP8qYAdpUo4yR9
  4. name: Inkbird ITC-308
  5. primary_entity:
  6. entity: climate
  7. dps:
  8. - id: 12
  9. type: bitfield
  10. name: error
  11. mapping:
  12. - dps_val: 0
  13. value: OK
  14. - id: 101
  15. type: string
  16. name: temperature_unit
  17. - id: 104
  18. type: integer
  19. name: current_temperature
  20. mapping:
  21. - scale: 10
  22. constraint: temperature_unit
  23. conditions:
  24. - dps_val: F
  25. value_redirect: current_temperature_f
  26. - id: 106
  27. type: integer
  28. name: temperature
  29. range:
  30. min: -500
  31. max: 999
  32. mapping:
  33. - scale: 10
  34. constraint: temperature_unit
  35. conditions:
  36. - dps_val: F
  37. range:
  38. min: -580
  39. max: 2100
  40. - id: 111
  41. type: boolean
  42. name: high_temp_alarm
  43. hidden: true
  44. mapping:
  45. - dps_val: true
  46. icon: "mdi:thermometer-alert"
  47. icon_priority: 1
  48. - id: 112
  49. type: boolean
  50. name: low_temp_alarm
  51. hidden: true
  52. mapping:
  53. - dps_val: true
  54. icon: "mdi:snowflake-alert"
  55. icon_priority: 2
  56. - id: 113
  57. type: boolean
  58. name: sensor_fault_alarm
  59. hidden: true
  60. mapping:
  61. - dps_val: true
  62. icon: "mdi:thermometer-alert"
  63. icon_priority: 3
  64. - id: 115
  65. type: string
  66. name: hvac_action
  67. mapping:
  68. - dps_val: "0"
  69. icon: "mdi-thermometer-off"
  70. icon-priority: 5
  71. value: idle
  72. - dps_val: "1"
  73. icon: "mdi:snowflake"
  74. icon_priority: 5
  75. value: cooling
  76. - dps_val: "2"
  77. icon: "mdi:thermometer-off"
  78. icon_priority: 5
  79. value: idle
  80. - dps_val: "3"
  81. icon: "mdi:fire"
  82. icon_priority: 6
  83. value: heating
  84. - id: 116
  85. type: integer
  86. name: current_temperature_f
  87. mapping:
  88. - scale: 10
  89. hidden: true
  90. secondary_entities:
  91. - entity: number
  92. category: config
  93. name: Calibration offset
  94. icon: "mdi:arrow-collapse-up"
  95. dps:
  96. - id: 102
  97. name: value
  98. type: integer
  99. range:
  100. min: -99
  101. max: 99
  102. mapping:
  103. - scale: 10
  104. constraint: unit
  105. conditions:
  106. - dps_val: F
  107. range:
  108. min: -150
  109. max: 150
  110. - entity: number
  111. name: Compressor delay
  112. icon: "mdi:clock"
  113. category: config
  114. dps:
  115. - id: 108
  116. type: integer
  117. name: value
  118. unit: min
  119. range:
  120. min: 0
  121. max: 10
  122. - entity: number
  123. name: High temperature limit
  124. category: config
  125. class: temperature
  126. icon: "mdi:thermometer-alert"
  127. dps:
  128. - id: 109
  129. name: value
  130. type: integer
  131. range:
  132. min: -500
  133. max: 999
  134. mapping:
  135. - scale: 10
  136. constraint: unit
  137. conditions:
  138. - dps_val: F
  139. range:
  140. min: -500
  141. max: 2100
  142. - id: 101
  143. name: unit
  144. type: string
  145. hidden: true
  146. - entity: number
  147. name: Low temperature limit
  148. icon: "mdi:snowflake-alert"
  149. category: config
  150. class: temperature
  151. dps:
  152. - id: 110
  153. name: value
  154. type: integer
  155. range:
  156. min: -500
  157. max: 999
  158. mapping:
  159. - scale: 10
  160. constraint: unit
  161. conditions:
  162. - dps_val: F
  163. range:
  164. min: -500
  165. max: 2100
  166. - id: 101
  167. name: unit
  168. type: string
  169. hidden: true
  170. - entity: select
  171. category: config
  172. name: Temperature unit
  173. icon: "mdi:temperature-celsius"
  174. dps:
  175. - id: 101
  176. name: option
  177. type: string
  178. mapping:
  179. - dps_val: C
  180. value: Celsius
  181. - dps_val: F
  182. value: Fahrenheit
  183. - entity: binary_sensor
  184. class: heat
  185. category: diagnostic
  186. name: High temperature
  187. dps:
  188. - id: 111
  189. type: boolean
  190. name: sensor
  191. - entity: binary_sensor
  192. class: cold
  193. category: diagnostic
  194. name: Low temperature
  195. dps:
  196. - id: 112
  197. type: boolean
  198. name: sensor
  199. - entity: binary_sensor
  200. name: Error
  201. class: problem
  202. category: diagnostic
  203. dps:
  204. - id: 12
  205. name: sensor
  206. type: bitfield
  207. mapping:
  208. - dps_val: 0
  209. value: false
  210. - value: true
  211. - entity: binary_sensor
  212. class: problem
  213. category: diagnostic
  214. name: Sensor fault
  215. icon: "mdi:thermometer-alert"
  216. dps:
  217. - id: 113
  218. type: boolean
  219. name: sensor
  220. - entity: number
  221. category: config
  222. name: Heating hysteresis
  223. icon: "mdi: thermometer-chevron-up"
  224. dps:
  225. - id: 117
  226. name: value
  227. type: integer
  228. range:
  229. min: 3
  230. max: 150
  231. mapping:
  232. - scale: 10
  233. constraint: unit
  234. conditions:
  235. - dps_val: F
  236. range:
  237. min: 10
  238. max: 300
  239. - id: 101
  240. name: unit
  241. type: string
  242. hidden: true
  243. - entity: number
  244. category: config
  245. name: Cooling hysteresis
  246. icon: "mdi:thermometer-chevron-down"
  247. dps:
  248. - id: 118
  249. name: value
  250. type: integer
  251. range:
  252. min: 3
  253. max: 150
  254. mapping:
  255. - scale: 10
  256. constraint: unit
  257. conditions:
  258. - dps_val: F
  259. range:
  260. min: 10
  261. max: 300
  262. - id: 101
  263. name: unit
  264. type: string
  265. hidden: true