4
0

essentials_purifier.yaml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. name: Essentials air purifier
  2. primary_entity:
  3. entity: switch
  4. icon: "mdi:air-purifier"
  5. dps:
  6. - id: 1
  7. type: boolean
  8. name: switch
  9. secondary_entities:
  10. - entity: sensor
  11. name: Active filter life
  12. icon: "mdi:air-filter"
  13. category: diagnostic
  14. dps:
  15. - id: 5
  16. type: integer
  17. name: sensor
  18. unit: "%"
  19. - entity: lock
  20. name: Child lock
  21. category: config
  22. dps:
  23. - id: 7
  24. type: boolean
  25. name: lock
  26. mapping:
  27. - dps_val: true
  28. icon: "mdi:hand-back-right-off"
  29. - dps_val: false
  30. icon: "mdi:hand-back-right"
  31. - entity: select
  32. name: Light
  33. category: config
  34. dps:
  35. - id: 101
  36. name: option
  37. type: string
  38. mapping:
  39. - dps_val: Standard
  40. value: "On"
  41. icon: "mdi:lightbulb-on"
  42. - dps_val: Soft
  43. value: "Soft"
  44. icon: "mdi:lightbulb-on-outline"
  45. - dps_val: Close
  46. value: "Off"
  47. icon: "mdi:lightbulb-outline"
  48. - entity: switch
  49. name: UV sterilization
  50. category: config
  51. dps:
  52. - id: 9
  53. type: boolean
  54. name: switch
  55. mapping:
  56. - dps_val: true
  57. icon: "mdi:lightbulb"
  58. - dps_val: false
  59. icon: "mdi:lightbulb-outline"
  60. - entity: button
  61. name: Filter reset
  62. class: restart
  63. category: config
  64. dps:
  65. - id: 11
  66. type: boolean
  67. name: button
  68. - entity: select
  69. name: Timer
  70. icon: "mdi:timer"
  71. category: config
  72. dps:
  73. - id: 18
  74. name: option
  75. type: string
  76. mapping:
  77. - dps_val: cancel
  78. value: "Off"
  79. - dps_val: 2h
  80. value: "2 hours"
  81. - dps_val: 4h
  82. value: "4 hours"
  83. - dps_val: 8h
  84. value: "8 hours"
  85. - entity: sensor
  86. name: Timer
  87. icon: "mdi:timer"
  88. class: duration
  89. category: diagnostic
  90. dps:
  91. - id: 19
  92. type: integer
  93. name: sensor
  94. unit: "min"
  95. - entity: sensor
  96. class: pm25
  97. dps:
  98. - id: 2
  99. type: integer
  100. name: sensor
  101. class: measurement
  102. unit: ugm3
  103. - entity: sensor
  104. name: Air quality
  105. dps:
  106. - id: 21
  107. type: string
  108. name: sensor
  109. - entity: select
  110. name: Mode
  111. dps:
  112. - id: 3
  113. name: option
  114. type: string
  115. mapping:
  116. - dps_val: auto
  117. value: "Auto"
  118. - dps_val: "M"
  119. value: "Medium"
  120. - dps_val: "H"
  121. value: "High"
  122. - dps_val: "sleep"
  123. value: "Sleep"