alecoair_d12_dehumidifier.yaml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. name: AlecoAir D12 ECO dehumidifier
  2. products:
  3. - id: gcthce4ejb8nzgow
  4. name: D12 ECO 2.0
  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: 20
  24. max: 95
  25. mapping:
  26. - step: 5
  27. - id: 5
  28. name: mode
  29. type: string
  30. mapping:
  31. - dps_val: Continuous
  32. value: boost
  33. icon: mdi:tshirt-crew-outline
  34. icon_priority: 3
  35. - dps_val: Sunny_Day
  36. value: eco
  37. icon: "mdi:weather-sunny"
  38. icon_priority: 3
  39. - dps_val: Rain_Day
  40. value: normal
  41. icon: "mdi:weather-pouring"
  42. icon_priority: 3
  43. - id: 6
  44. name: current_humidity
  45. type: integer
  46. - id: 19
  47. name: error
  48. type: bitfield
  49. # Docs mention E1 and E2, it isn't clear which is tank full, so for now
  50. # treat both as that.
  51. mapping:
  52. - dps_val: 0
  53. value: OK
  54. - dps_val: 1
  55. value: E1
  56. icon: "mdi:cup-water"
  57. icon_priority: 2
  58. - dps_val: 2
  59. value: E2
  60. icon: "mdi:cup-water"
  61. icon_priority: 2
  62. secondary_entities:
  63. - entity: fan
  64. dps:
  65. - id: 1
  66. type: boolean
  67. name: switch
  68. - id: 4
  69. type: string
  70. name: speed
  71. mapping:
  72. - dps_val: low
  73. value: 50
  74. - dps_val: high
  75. value: 100
  76. - entity: sensor
  77. name: Current humidity
  78. deprecated: humidifier
  79. category: diagnostic
  80. class: humidity
  81. dps:
  82. - id: 6
  83. type: integer
  84. name: sensor
  85. unit: "%"
  86. class: measurement
  87. - entity: sensor
  88. class: temperature
  89. dps:
  90. - id: 7
  91. type: integer
  92. name: sensor
  93. unit: C
  94. class: measurement
  95. - entity: switch
  96. name: Sleep
  97. category: config
  98. dps:
  99. - id: 14
  100. type: boolean
  101. name: switch
  102. mapping:
  103. - dps_val: false
  104. icon: "mdi:sleep-off"
  105. - dps_val: true
  106. icon: "mdi:sleep"
  107. - entity: lock
  108. name: Child lock
  109. category: config
  110. dps:
  111. - id: 16
  112. type: boolean
  113. name: lock
  114. mapping:
  115. - dps_val: false
  116. icon: "mdi:hand-back-right"
  117. - dps_val: true
  118. icon: "mdi:hand-back-right-off"
  119. - entity: binary_sensor
  120. name: Tank
  121. class: problem
  122. category: diagnostic
  123. dps:
  124. - id: 19
  125. type: bitfield
  126. name: sensor
  127. mapping:
  128. - dps_val: 0
  129. value: false
  130. - value: true