AlecoAir_D25_Traditio.yaml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  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. translation_key: ionizer
  68. category: config
  69. dps:
  70. - id: 10
  71. type: boolean
  72. name: switch
  73. - entity: switch
  74. translation_key: uv_sterilization
  75. category: config
  76. dps:
  77. - id: 13
  78. type: boolean
  79. name: switch
  80. - entity: binary_sensor
  81. translation_key: tank_full
  82. category: diagnostic
  83. dps:
  84. - id: 19
  85. type: bitfield
  86. name: sensor
  87. mapping:
  88. - dps_val: 0
  89. value: false
  90. - value: true
  91. - entity: lock
  92. translation_key: child_lock
  93. category: config
  94. dps:
  95. - id: 16
  96. type: boolean
  97. name: lock
  98. - entity: select
  99. translation_key: timer
  100. category: config
  101. dps:
  102. - id: 17
  103. type: string
  104. name: option
  105. mapping:
  106. - dps_val: cancel
  107. value: "Off"
  108. - dps_val: 1h
  109. value: 1 hour
  110. - dps_val: 2h
  111. value: 2 hours
  112. - dps_val: 3h
  113. value: 3 hours
  114. - dps_val: 4h
  115. value: 4 hours
  116. - dps_val: 5h
  117. value: 5 hours
  118. - dps_val: 6h
  119. value: 6 hours
  120. - dps_val: 7h
  121. value: 7 hours
  122. - dps_val: 8h
  123. value: 8 hours
  124. - dps_val: 9h
  125. value: 9 hours
  126. - dps_val: 10h
  127. value: 10 hours
  128. - dps_val: 11h
  129. value: 11 hours
  130. - dps_val: 12h
  131. value: 12 hours
  132. - dps_val: 13h
  133. value: 13 hours
  134. - dps_val: 14h
  135. value: 14 hours
  136. - dps_val: 15h
  137. value: 15 hours
  138. - dps_val: 16h
  139. value: 16 hours
  140. - dps_val: 17h
  141. value: 17 hours
  142. - dps_val: 18h
  143. value: 18 hours
  144. - dps_val: 19h
  145. value: 19 hours
  146. - dps_val: 20h
  147. value: 20 hours
  148. - dps_val: 21h
  149. value: 21 hours
  150. - dps_val: 22h
  151. value: 22 hours
  152. - dps_val: 23h
  153. value: 23 hours
  154. - dps_val: 24h
  155. value: 24 hours