AlecoAir_D25_Traditio.yaml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. name: Dehumidifier
  2. products:
  3. - id: bf1872f920fbb07813iiwn
  4. name: AlecoAir D25
  5. primary_entity:
  6. entity: humidifier
  7. class: dehumidifier
  8. dps:
  9. - id: 1
  10. name: switch
  11. type: boolean
  12. - id: 2
  13. name: humidity
  14. type: integer
  15. range:
  16. min: 25
  17. max: 80
  18. mapping:
  19. - step: 5
  20. - id: 5
  21. name: mode
  22. type: string
  23. mapping:
  24. - dps_val: Manual
  25. value: normal
  26. - dps_val: Auto
  27. value: auto
  28. - dps_val: Laundrydrying
  29. value: laundry
  30. - dps_val: Sleep
  31. value: sleep
  32. - dps_val: Purifying
  33. value: purify
  34. - id: 6
  35. type: integer
  36. name: current_humidity
  37. - id: 19
  38. name: fault_code
  39. type: bitfield
  40. # Docs mention E1 and E2, it isn't clear which is tank full, so for now
  41. # treat both as that.
  42. mapping:
  43. - dps_val: 0
  44. value: OK
  45. - dps_val: 1
  46. value: E1
  47. - dps_val: 2
  48. value: E2
  49. secondary_entities:
  50. - entity: fan
  51. dps:
  52. - id: 1
  53. type: boolean
  54. name: switch
  55. - id: 4
  56. type: string
  57. name: speed
  58. mapping:
  59. - dps_val: low
  60. value: 50
  61. - dps_val: high
  62. value: 100
  63. - id: 8
  64. type: boolean
  65. name: oscillate
  66. - entity: switch
  67. name: Ionizer
  68. category: config
  69. icon: "mdi:creation"
  70. dps:
  71. - id: 10
  72. type: boolean
  73. name: switch
  74. - entity: switch
  75. name: UV sterilization
  76. category: config
  77. icon: "mdi:leaf"
  78. dps:
  79. - id: 13
  80. type: boolean
  81. name: switch
  82. - entity: binary_sensor
  83. name: Tank
  84. class: problem
  85. category: diagnostic
  86. dps:
  87. - id: 19
  88. type: bitfield
  89. name: sensor
  90. mapping:
  91. - dps_val: 0
  92. value: false
  93. - value: true
  94. - entity: lock
  95. name: Child lock
  96. category: config
  97. icon: "mdi:hand-back-right-off"
  98. dps:
  99. - id: 16
  100. type: boolean
  101. name: lock
  102. - entity: select
  103. name: Timer
  104. icon: "mdi:timer"
  105. category: config
  106. dps:
  107. - id: 17
  108. type: string
  109. name: option
  110. mapping:
  111. - dps_val: cancel
  112. value: "Off"
  113. - dps_val: 1h
  114. value: 1 hour
  115. - dps_val: 2h
  116. value: 2 hours
  117. - dps_val: 3h
  118. value: 3 hours
  119. - dps_val: 4h
  120. value: 4 hours
  121. - dps_val: 5h
  122. value: 5 hours
  123. - dps_val: 6h
  124. value: 6 hours
  125. - dps_val: 7h
  126. value: 7 hours
  127. - dps_val: 8h
  128. value: 8 hours
  129. - dps_val: 9h
  130. value: 9 hours
  131. - dps_val: 10h
  132. value: 10 hours
  133. - dps_val: 11h
  134. value: 11 hours
  135. - dps_val: 12h
  136. value: 12 hours
  137. - dps_val: 13h
  138. value: 13 hours
  139. - dps_val: 14h
  140. value: 14 hours
  141. - dps_val: 15h
  142. value: 15 hours
  143. - dps_val: 16h
  144. value: 16 hours
  145. - dps_val: 17h
  146. value: 17 hours
  147. - dps_val: 18h
  148. value: 18 hours
  149. - dps_val: 19h
  150. value: 19 hours
  151. - dps_val: 20h
  152. value: 20 hours
  153. - dps_val: 21h
  154. value: 21 hours
  155. - dps_val: 22h
  156. value: 22 hours
  157. - dps_val: 23h
  158. value: 23 hours
  159. - dps_val: 24h
  160. value: 24 hours