alecoair_d12_dehumidifier.yaml 2.7 KB

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