alecoair_d16_dehumidifier.yaml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  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: Manual
  33. - dps_val: laundry
  34. value: Dry clothes
  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: 19
  46. name: error
  47. type: bitfield
  48. # Docs mention E1 and E2, it isn't clear which is tank full, so for now
  49. # treat both as that.
  50. mapping:
  51. - dps_val: 0
  52. value: OK
  53. - dps_val: 1
  54. value: E1
  55. icon: "mdi:cup-water"
  56. icon_priority: 2
  57. - dps_val: 2
  58. value: E2
  59. icon: "mdi:cup-water"
  60. icon_priority: 2
  61. secondary_entities:
  62. - entity: fan
  63. dps:
  64. - id: 1
  65. type: boolean
  66. name: switch
  67. - id: 4
  68. type: string
  69. name: dehumidifier_mode
  70. hidden: true
  71. - id: 5
  72. type: string
  73. name: speed
  74. mapping:
  75. - dps_val: low
  76. value: 50
  77. constraint: dehumidifier_mode
  78. conditions:
  79. - dps_val: laundry
  80. invalid: true
  81. - dps_val: high
  82. value: 100
  83. constraint: dehumidifier_mode
  84. conditions:
  85. - dps_val: sleep
  86. invalid: true
  87. - dps_val: purify
  88. invalid: true
  89. - entity: switch
  90. name: Ionizer
  91. icon: "mdi:creation"
  92. dps:
  93. - id: 10
  94. type: boolean
  95. name: switch
  96. - entity: sensor
  97. name: Current humidity
  98. class: humidity
  99. dps:
  100. - id: 16
  101. type: integer
  102. name: sensor
  103. unit: "%"
  104. class: measurement
  105. - entity: binary_sensor
  106. name: Tank
  107. class: problem
  108. category: diagnostic
  109. dps:
  110. - id: 19
  111. type: bitfield
  112. name: sensor
  113. mapping:
  114. - dps_val: 0
  115. value: false
  116. - value: true
  117. - entity: lock
  118. name: Child lock
  119. category: config
  120. dps:
  121. - id: 14
  122. type: boolean
  123. name: lock
  124. mapping:
  125. - dps_val: true
  126. icon: "mdi:hand-back-right-off"
  127. - dps_val: false
  128. icon: "mdi:hand-back-right"
  129. - entity: select
  130. name: Timer
  131. icon: "mdi:timer"
  132. category: config
  133. dps:
  134. - id: 17
  135. type: string
  136. name: option
  137. mapping:
  138. - dps_val: cancel
  139. value: "Off"
  140. - dps_val: 1h
  141. value: 1 hour
  142. - dps_val: 2h
  143. value: 2 hours
  144. - dps_val: 3h
  145. value: 3 hours
  146. - dps_val: 4h
  147. value: 4 hours
  148. - dps_val: 5h
  149. value: 5 hours
  150. - dps_val: 6h
  151. value: 6 hours
  152. - dps_val: 7h
  153. value: 7 hours
  154. - dps_val: 8h
  155. value: 8 hours
  156. - dps_val: 9h
  157. value: 9 hours
  158. - dps_val: 10h
  159. value: 10 hours
  160. - dps_val: 11h
  161. value: 11 hours
  162. - dps_val: 12h
  163. value: 12 hours
  164. - dps_val: 13h
  165. value: 13 hours
  166. - dps_val: 14h
  167. value: 14 hours
  168. - dps_val: 15h
  169. value: 15 hours
  170. - dps_val: 16h
  171. value: 16 hours
  172. - dps_val: 17h
  173. value: 17 hours
  174. - dps_val: 18h
  175. value: 18 hours
  176. - dps_val: 19h
  177. value: 19 hours
  178. - dps_val: 20h
  179. value: 20 hours
  180. - dps_val: 21h
  181. value: 21 hours
  182. - dps_val: 22h
  183. value: 22 hours
  184. - dps_val: 23h
  185. value: 23 hours
  186. - dps_val: 24h
  187. value: 24 hours