AlecoAir_D25_Traditio.yaml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  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: option
  58. icon: "mdi:fan"
  59. mapping:
  60. - dps_val: low
  61. value: low
  62. - dps_val: high
  63. value: high
  64. - id: 8
  65. type: boolean
  66. name: oscillate
  67. - entity: switch
  68. name: Ionizer
  69. category: config
  70. icon: "mdi:creation"
  71. dps:
  72. - id: 10
  73. type: boolean
  74. name: switch
  75. - entity: switch
  76. name: UV sterilization
  77. category: config
  78. icon: "mdi:leaf"
  79. dps:
  80. - id: 13
  81. type: boolean
  82. name: switch
  83. - entity: binary_sensor
  84. name: Tank
  85. class: problem
  86. category: diagnostic
  87. dps:
  88. - id: 19
  89. type: bitfield
  90. name: sensor
  91. mapping:
  92. - dps_val: 0
  93. value: false
  94. - value: true
  95. - entity: lock
  96. name: Child lock
  97. category: config
  98. icon: "mdi:hand-back-right-off"
  99. dps:
  100. - id: 16
  101. type: boolean
  102. name: lock
  103. - entity: select
  104. name: Timer
  105. icon: "mdi:timer"
  106. category: config
  107. dps:
  108. - id: 17
  109. type: string
  110. name: option
  111. mapping:
  112. - dps_val: cancel
  113. value: "Off"
  114. - dps_val: 1h
  115. value: 1 hour
  116. - dps_val: 2h
  117. value: 2 hours
  118. - dps_val: 3h
  119. value: 3 hours
  120. - dps_val: 4h
  121. value: 4 hours
  122. - dps_val: 5h
  123. value: 5 hours
  124. - dps_val: 6h
  125. value: 6 hours
  126. - dps_val: 7h
  127. value: 7 hours
  128. - dps_val: 8h
  129. value: 8 hours
  130. - dps_val: 9h
  131. value: 9 hours
  132. - dps_val: 10h
  133. value: 10 hours
  134. - dps_val: 11h
  135. value: 11 hours
  136. - dps_val: 12h
  137. value: 12 hours
  138. - dps_val: 13h
  139. value: 13 hours
  140. - dps_val: 14h
  141. value: 14 hours
  142. - dps_val: 15h
  143. value: 15 hours
  144. - dps_val: 16h
  145. value: 16 hours
  146. - dps_val: 17h
  147. value: 17 hours
  148. - dps_val: 18h
  149. value: 18 hours
  150. - dps_val: 19h
  151. value: 19 hours
  152. - dps_val: 20h
  153. value: 20 hours
  154. - dps_val: 21h
  155. value: 21 hours
  156. - dps_val: 22h
  157. value: 22 hours
  158. - dps_val: 23h
  159. value: 23 hours
  160. - dps_val: 24h
  161. value: 24 hours