alecoair_d16_dehumidifier.yaml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  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: 2
  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. - dps_val: 1
  56. value: "Water Tank Full or Removed"
  57. icon: "mdi:cup-water"
  58. icon_priority: 1
  59. - dps_val: 2
  60. value: "E2 Compressor Fault"
  61. icon: "mdi:engine-off-outline"
  62. icon_priority: 1
  63. secondary_entities:
  64. - entity: fan
  65. dps:
  66. - id: 1
  67. type: boolean
  68. name: switch
  69. - id: 4
  70. type: string
  71. name: dehumidifier_mode
  72. hidden: true
  73. - id: 5
  74. type: string
  75. name: speed
  76. mapping:
  77. - dps_val: low
  78. value: 50
  79. constraint: dehumidifier_mode
  80. conditions:
  81. - dps_val: laundry
  82. invalid: true
  83. - dps_val: high
  84. value: 100
  85. constraint: dehumidifier_mode
  86. conditions:
  87. - dps_val: sleep
  88. invalid: true
  89. - dps_val: purify
  90. invalid: true
  91. - entity: switch
  92. name: Ionizer
  93. icon: "mdi:creation"
  94. dps:
  95. - id: 10
  96. type: boolean
  97. name: switch
  98. - entity: sensor
  99. name: Current humidity
  100. deprecated: humidifier
  101. category: diagnostic
  102. class: humidity
  103. dps:
  104. - id: 16
  105. type: integer
  106. name: sensor
  107. unit: "%"
  108. class: measurement
  109. - entity: binary_sensor
  110. class: problem
  111. name: Tank full
  112. icon: "mdi:cup-water"
  113. dps:
  114. - id: 19
  115. type: bitfield
  116. name: sensor
  117. mapping:
  118. - dps_val: 1
  119. value: true
  120. - value: false
  121. - entity: binary_sensor
  122. class: problem
  123. name: Fault
  124. dps:
  125. - id: 19
  126. type: bitfield
  127. name: sensor
  128. mapping:
  129. - dps_val: 0
  130. value: false
  131. - dps_val: 1
  132. value: false
  133. - dps_val: null
  134. value: false
  135. - value: true
  136. - entity: lock
  137. name: Child lock
  138. category: config
  139. dps:
  140. - id: 14
  141. type: boolean
  142. name: lock
  143. mapping:
  144. - dps_val: true
  145. icon: "mdi:hand-back-right-off"
  146. - dps_val: false
  147. icon: "mdi:hand-back-right"
  148. - entity: select
  149. name: Timer
  150. icon: "mdi:timer"
  151. category: config
  152. dps:
  153. - id: 17
  154. type: string
  155. name: option
  156. mapping:
  157. - dps_val: cancel
  158. value: "Off"
  159. - dps_val: 1h
  160. value: 1 hour
  161. - dps_val: 2h
  162. value: 2 hours
  163. - dps_val: 3h
  164. value: 3 hours
  165. - dps_val: 4h
  166. value: 4 hours
  167. - dps_val: 5h
  168. value: 5 hours
  169. - dps_val: 6h
  170. value: 6 hours
  171. - dps_val: 7h
  172. value: 7 hours
  173. - dps_val: 8h
  174. value: 8 hours
  175. - dps_val: 9h
  176. value: 9 hours
  177. - dps_val: 10h
  178. value: 10 hours
  179. - dps_val: 11h
  180. value: 11 hours
  181. - dps_val: 12h
  182. value: 12 hours
  183. - dps_val: 13h
  184. value: 13 hours
  185. - dps_val: 14h
  186. value: 14 hours
  187. - dps_val: 15h
  188. value: 15 hours
  189. - dps_val: 16h
  190. value: 16 hours
  191. - dps_val: 17h
  192. value: 17 hours
  193. - dps_val: 18h
  194. value: 18 hours
  195. - dps_val: 19h
  196. value: 19 hours
  197. - dps_val: 20h
  198. value: 20 hours
  199. - dps_val: 21h
  200. value: 21 hours
  201. - dps_val: 22h
  202. value: 22 hours
  203. - dps_val: 23h
  204. value: 23 hours
  205. - dps_val: 24h
  206. value: 24 hours