nac_ap470_purifier.yaml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. name: Air purifier
  2. products:
  3. - id: y7iiubdc5sufjvo3
  4. name: "NAC AP470 Air Purifier"
  5. primary_entity:
  6. entity: fan
  7. icon: "mdi:air-purifier"
  8. dps:
  9. - id: 1
  10. type: boolean
  11. name: switch
  12. - id: 4
  13. type: string
  14. name: preset_mode
  15. mapping:
  16. - dps_val: 1
  17. value: Auto
  18. - dps_val: 2
  19. value: Sleep
  20. - dps_val: 3
  21. value: Level 1
  22. - dps_val: 4
  23. value: Level 2
  24. - dps_val: 4
  25. value: Level 3
  26. - dps_val: 6
  27. value: Level 4
  28. - id: 21
  29. name: fault_code
  30. type: bitfield
  31. secondary_entities:
  32. - entity: sensor
  33. class: pm25
  34. dps:
  35. - id: 2
  36. type: integer
  37. name: sensor
  38. class: measurement
  39. unit: ugm3
  40. - entity: sensor
  41. name: Filter left days
  42. icon: "mdi:air-filter"
  43. category: diagnostic
  44. class: duration
  45. dps:
  46. - id: 16
  47. type: integer
  48. name: sensor
  49. unit: "d"
  50. - entity: sensor
  51. name: Total time
  52. icon: "mdi:air-filter"
  53. category: diagnostic
  54. class: duration
  55. dps:
  56. - id: 17
  57. type: integer
  58. name: sensor
  59. unit: "h"
  60. - entity: switch
  61. translation_key: ionizer
  62. category: config
  63. dps:
  64. - id: 6
  65. type: boolean
  66. name: switch
  67. - entity: lock
  68. translation_key: child_lock
  69. category: config
  70. dps:
  71. - id: 7
  72. type: boolean
  73. name: lock
  74. - entity: switch
  75. name: Disable light
  76. category: config
  77. icon: "mdi:lightbulb"
  78. dps:
  79. - id: 8
  80. type: boolean
  81. name: switch
  82. - entity: switch
  83. translation_key: uv_sterilization
  84. category: config
  85. dps:
  86. - id: 9
  87. type: boolean
  88. name: switch
  89. - entity: switch
  90. name: Filter clean
  91. category: config
  92. icon: "mdi:air-filter"
  93. dps:
  94. - id: 101
  95. type: boolean
  96. name: switch
  97. - entity: button
  98. name: Filter reset
  99. class: restart
  100. category: config
  101. dps:
  102. - id: 11
  103. type: boolean
  104. name: button
  105. - entity: select
  106. translation_key: timer
  107. category: config
  108. dps:
  109. - id: 19
  110. name: option
  111. type: string
  112. optional: true
  113. mapping:
  114. - dps_val: cancle
  115. value: cancel
  116. - dps_val: 2
  117. value: "2h"
  118. - dps_val: 4
  119. value: "4h"
  120. - dps_val: 6
  121. value: "6h"
  122. - dps_val: 8
  123. value: "8h"
  124. - entity: sensor
  125. translation_key: time_remaining
  126. class: duration
  127. category: diagnostic
  128. dps:
  129. - id: 20
  130. type: integer
  131. name: sensor
  132. unit: "min"
  133. optional: true