alecoair_d16_dehumidifier.yaml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. name: AlecoAir D16 dehumidifier
  2. products:
  3. - id: pzq25786mlkxmtbb
  4. # name: D16 PURIFY
  5. primary_entity:
  6. entity: humidifier
  7. class: dehumidifier
  8. dps:
  9. - id: 1
  10. name: switch
  11. type: boolean
  12. mapping:
  13. - dps_val: false
  14. icon: "mdi:air-humidifier-off"
  15. icon_priority: 1
  16. - dps_val: true
  17. icon: "mdi:air-humidifier"
  18. icon_priority: 4
  19. - id: 2
  20. name: humidity
  21. type: integer
  22. range:
  23. min: 25
  24. max: 80
  25. mapping:
  26. - step: 5
  27. - id: 4
  28. name: mode
  29. type: string
  30. mapping:
  31. - dps_val: manual
  32. value: normal
  33. - dps_val: laundry
  34. value: laundry
  35. icon: "mdi:tshirt-crew-outline"
  36. icon_priority: 3
  37. - dps_val: purify
  38. value: purify
  39. icon: "mdi:air-filter"
  40. icon_priority: 3
  41. - dps_val: sleep
  42. value: sleep
  43. icon: "mdi:power-sleep"
  44. icon_priority: 3
  45. - id: 16
  46. name: current_humidity
  47. type: integer
  48. - id: 19
  49. name: error
  50. type: bitfield
  51. # E2 might be a compressor fault.
  52. mapping:
  53. - dps_val: 0
  54. value: OK
  55. icon: "mdi:cup-outline"
  56. - dps_val: 1
  57. value: "Water Tank Full or Removed"
  58. icon: "mdi:cup-water"
  59. icon_priority: 1
  60. - dps_val: 2
  61. value: "E2 Compressor Fault"
  62. icon: "mdi:engine-off-outline"
  63. icon_priority: 1
  64. secondary_entities:
  65. - entity: fan
  66. dps:
  67. - id: 1
  68. type: boolean
  69. name: switch
  70. - id: 4
  71. type: string
  72. name: dehumidifier_mode
  73. hidden: true
  74. - id: 5
  75. type: string
  76. name: speed
  77. mapping:
  78. - dps_val: low
  79. value: 50
  80. constraint: dehumidifier_mode
  81. conditions:
  82. - dps_val: laundry
  83. invalid: true
  84. - dps_val: high
  85. value: 100
  86. constraint: dehumidifier_mode
  87. conditions:
  88. - dps_val: sleep
  89. invalid: true
  90. - dps_val: purify
  91. invalid: true
  92. - entity: switch
  93. name: Ionizer
  94. icon: "mdi:creation"
  95. dps:
  96. - id: 10
  97. type: boolean
  98. name: switch
  99. - entity: sensor
  100. name: Current humidity
  101. deprecated: humidifier
  102. category: diagnostic
  103. class: humidity
  104. dps:
  105. - id: 16
  106. type: integer
  107. name: sensor
  108. unit: "%"
  109. class: measurement
  110. - entity: binary_sensor
  111. class: problem
  112. name: Tank full
  113. icon: "mdi:cup-water"
  114. optional: true
  115. dps:
  116. - id: 19
  117. type: bitfield
  118. name: sensor
  119. mapping:
  120. - dps_val: 1
  121. value: true
  122. - value: false
  123. - entity: binary_sensor
  124. class: problem
  125. name: Fault
  126. icon: "mdi:engine-off-outline"
  127. optional: true
  128. dps:
  129. - id: 19
  130. type: bitfield
  131. name: sensor
  132. mapping:
  133. - dps_val: 0
  134. value: false
  135. - dps_val: 1
  136. value: false
  137. - dps_val: null
  138. value: false
  139. - value: true
  140. - entity: lock
  141. name: Child lock
  142. category: config
  143. dps:
  144. - id: 14
  145. type: boolean
  146. name: lock
  147. mapping:
  148. - dps_val: true
  149. icon: "mdi:hand-back-right-off"
  150. - dps_val: false
  151. icon: "mdi:hand-back-right"
  152. - entity: select
  153. name: Timer
  154. icon: "mdi:timer"
  155. category: config
  156. dps:
  157. - id: 17
  158. type: string
  159. name: option
  160. mapping:
  161. - dps_val: cancel
  162. value: "Off"
  163. - dps_val: 1h
  164. value: 1 hour
  165. - dps_val: 2h
  166. value: 2 hours
  167. - dps_val: 3h
  168. value: 3 hours
  169. - dps_val: 4h
  170. value: 4 hours
  171. - dps_val: 5h
  172. value: 5 hours
  173. - dps_val: 6h
  174. value: 6 hours
  175. - dps_val: 7h
  176. value: 7 hours
  177. - dps_val: 8h
  178. value: 8 hours
  179. - dps_val: 9h
  180. value: 9 hours
  181. - dps_val: 10h
  182. value: 10 hours
  183. - dps_val: 11h
  184. value: 11 hours
  185. - dps_val: 12h
  186. value: 12 hours
  187. - dps_val: 13h
  188. value: 13 hours
  189. - dps_val: 14h
  190. value: 14 hours
  191. - dps_val: 15h
  192. value: 15 hours
  193. - dps_val: 16h
  194. value: 16 hours
  195. - dps_val: 17h
  196. value: 17 hours
  197. - dps_val: 18h
  198. value: 18 hours
  199. - dps_val: 19h
  200. value: 19 hours
  201. - dps_val: 20h
  202. value: 20 hours
  203. - dps_val: 21h
  204. value: 21 hours
  205. - dps_val: 22h
  206. value: 22 hours
  207. - dps_val: 23h
  208. value: 23 hours
  209. - dps_val: 24h
  210. value: 24 hours