quad_temphumidity_switch.yaml 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384
  1. name: Quad climate switch
  2. products:
  3. - id: gc4b1mdw7kebtuyz
  4. model: 4-TH
  5. entities:
  6. - entity: switch
  7. name: Main
  8. dps:
  9. - id: 1
  10. type: boolean
  11. name: switch
  12. - entity: switch
  13. translation_key: switch_x
  14. translation_placeholders:
  15. x: "1"
  16. dps:
  17. - id: 2
  18. type: boolean
  19. name: switch
  20. - entity: switch
  21. translation_key: switch_x
  22. translation_placeholders:
  23. x: "2"
  24. dps:
  25. - id: 3
  26. type: boolean
  27. name: switch
  28. - entity: select
  29. name: Operating mode
  30. icon: "mdi:thermometer-auto"
  31. category: config
  32. dps:
  33. - id: 4
  34. type: string
  35. name: option
  36. mapping:
  37. - dps_val: auto
  38. value: Auto
  39. - dps_val: manual
  40. value: Manual
  41. icon: "mdi:thermometer-off"
  42. - entity: climate
  43. translation_key: thermostat
  44. dps:
  45. - id: 6
  46. type: integer
  47. name: current_temperature
  48. unit: C
  49. mapping:
  50. - scale: 10
  51. - id: 7
  52. type: integer
  53. name: target_temp_high
  54. range:
  55. min: -500
  56. max: 1100
  57. mapping:
  58. - scale: 10
  59. - id: 10
  60. type: integer
  61. name: target_temp_low
  62. range:
  63. min: -500
  64. max: 1100
  65. mapping:
  66. - scale: 10
  67. - id: 20
  68. type: integer
  69. optional: true
  70. name: current_humidity
  71. - entity: number
  72. translation_key: timer_x
  73. translation_placeholders:
  74. x: "1"
  75. class: duration
  76. category: config
  77. dps:
  78. - id: 16
  79. type: integer
  80. name: value
  81. unit: s
  82. range:
  83. min: 0
  84. max: 43200
  85. - entity: number
  86. translation_key: temperature_calibration
  87. category: config
  88. dps:
  89. - id: 18
  90. type: integer
  91. name: value
  92. unit: °
  93. range:
  94. min: -90
  95. max: 90
  96. mapping:
  97. - scale: 10
  98. - entity: binary_sensor
  99. class: problem
  100. category: diagnostic
  101. dps:
  102. - id: 19
  103. type: bitfield
  104. optional: true
  105. name: sensor
  106. mapping:
  107. - dps_val: 0
  108. value: false
  109. - dps_val: null
  110. value: false
  111. - value: true
  112. - id: 19
  113. type: bitfield
  114. name: fault_code
  115. optional: true
  116. - id: 19
  117. type: bitfield
  118. optional: true
  119. name: description
  120. mapping:
  121. - dps_val: 0
  122. value: null
  123. - dps_val: 1
  124. value: cooling_fault
  125. - dps_val: 2
  126. value: heating_fault
  127. - dps_val: 4
  128. value: temperature_difference_fault
  129. - entity: number
  130. name: Maximum humidity
  131. class: humidity
  132. dps:
  133. - id: 21
  134. type: integer
  135. name: value
  136. unit: "%"
  137. range:
  138. min: 0
  139. max: 1000
  140. mapping:
  141. - scale: 10
  142. - entity: number
  143. name: Minimum humidity
  144. class: humidity
  145. dps:
  146. - id: 22
  147. type: integer
  148. name: value
  149. unit: "%"
  150. range:
  151. min: 0
  152. max: 1000
  153. mapping:
  154. - scale: 10
  155. - entity: text
  156. name: Switch 1 config
  157. category: config
  158. icon: "mdi:toggle-switch"
  159. hidden: true
  160. dps:
  161. - id: 101
  162. type: string
  163. name: value
  164. - entity: text
  165. name: Switch 2 config
  166. category: config
  167. icon: "mdi:toggle-switch"
  168. hidden: true
  169. dps:
  170. - id: 102
  171. type: string
  172. name: value
  173. - entity: number
  174. translation_key: timer_x
  175. translation_placeholders:
  176. x: "2"
  177. class: duration
  178. category: config
  179. dps:
  180. - id: 104
  181. type: integer
  182. name: value
  183. unit: s
  184. range:
  185. min: 0
  186. max: 42300
  187. - entity: select
  188. translation_key: initial_state
  189. category: config
  190. dps:
  191. - id: 105
  192. type: string
  193. name: option
  194. mapping:
  195. - dps_val: "on"
  196. value: "on"
  197. - dps_val: "off"
  198. value: "off"
  199. - dps_val: memory
  200. value: memory
  201. - entity: select
  202. name: Sensor type
  203. icon: "mdi:thermometer-water"
  204. category: config
  205. dps:
  206. - id: 106
  207. type: string
  208. name: option
  209. mapping:
  210. - dps_val: none
  211. value: None
  212. - dps_val: tpm
  213. value: Temperature
  214. - dps_val: mix
  215. value: Temperature + humidity
  216. - dps_val: soil
  217. value: Soil moisture
  218. - entity: select
  219. translation_key: temperature_unit
  220. category: config
  221. dps:
  222. - id: 107
  223. type: string
  224. name: option
  225. mapping:
  226. - dps_val: C
  227. value: celsius
  228. - dps_val: F
  229. value: fahrenheit
  230. - entity: switch
  231. translation_key: switch_x
  232. translation_placeholders:
  233. x: "4"
  234. dps:
  235. - id: 108
  236. type: boolean
  237. name: switch
  238. - entity: switch
  239. translation_key: switch_x
  240. translation_placeholders:
  241. x: "3"
  242. dps:
  243. - id: 109
  244. type: boolean
  245. name: switch
  246. - entity: number
  247. translation_key: timer_x
  248. translation_placeholders:
  249. x: "4"
  250. class: duration
  251. category: config
  252. dps:
  253. - id: 110
  254. type: integer
  255. name: value
  256. unit: s
  257. range:
  258. min: 0
  259. max: 43200
  260. - entity: number
  261. translation_key: timer_x
  262. translation_placeholders:
  263. x: "3"
  264. class: duration
  265. category: config
  266. dps:
  267. - id: 111
  268. type: integer
  269. name: value
  270. unit: s
  271. range:
  272. min: 0
  273. max: 43200
  274. - entity: lock
  275. translation_key: child_lock
  276. category: config
  277. dps:
  278. - id: 112
  279. type: boolean
  280. name: lock
  281. - entity: text
  282. name: Inching
  283. category: config
  284. icon: "mdi:toggle-switch"
  285. hidden: true
  286. dps:
  287. - id: 113
  288. type: string
  289. name: value
  290. - entity: text
  291. name: Switch 3 config
  292. category: config
  293. icon: "mdi:toggle-switch"
  294. hidden: true
  295. dps:
  296. - id: 117
  297. type: string
  298. name: value
  299. - entity: text
  300. name: Switch 4 config
  301. category: config
  302. icon: "mdi:toggle-switch"
  303. hidden: true
  304. dps:
  305. - id: 118
  306. type: string
  307. name: value
  308. - entity: number
  309. name: Humidity calibration
  310. category: config
  311. class: humidity
  312. dps:
  313. - id: 119
  314. type: integer
  315. name: value
  316. unit: "%"
  317. range:
  318. min: -10
  319. max: 10
  320. - entity: number
  321. name: Temperature sensitivity
  322. category: config
  323. icon: "mdi:thermometer-plus"
  324. dps:
  325. - id: 120
  326. type: integer
  327. name: value
  328. unit: °
  329. range:
  330. min: 1
  331. max: 10
  332. mapping:
  333. - scale: 10
  334. - entity: number
  335. name: Humidity sensitivity
  336. class: humidity
  337. category: config
  338. dps:
  339. - id: 121
  340. type: integer
  341. name: value
  342. unit: "%"
  343. range:
  344. min: 1
  345. max: 10
  346. - entity: event
  347. name: Temperature alarm
  348. dps:
  349. - id: 122
  350. type: string
  351. name: event
  352. optional: true
  353. mapping:
  354. - dps_val: "0"
  355. value: low_temperature
  356. - dps_val: "1"
  357. value: high_temperature
  358. - id: 103
  359. type: bitfield
  360. name: switches
  361. optional: true
  362. - entity: event
  363. name: Humidity alarm
  364. dps:
  365. - id: 123
  366. type: string
  367. name: event
  368. optional: true
  369. mapping:
  370. - dps_val: "0"
  371. value: low_humidity
  372. - dps_val: "1"
  373. value: high_humidity
  374. - id: 103
  375. type: bitfield
  376. name: switches
  377. optional: true
  378. - entity: switch
  379. name: Alarm
  380. category: config
  381. dps:
  382. - id: 124
  383. type: boolean
  384. name: switch