quad_temphumidity_switch.yaml 7.6 KB

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