essentials_purifier.yaml 2.4 KB

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