soho_air_purifier.yaml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. name: Air Purifier
  2. primary_entity:
  3. entity: fan
  4. translation_only_key: fan_with_presets
  5. dps:
  6. - id: 1
  7. name: switch
  8. type: boolean
  9. - id: 3
  10. name: preset_mode
  11. type: string
  12. mapping:
  13. - dps_val: auto
  14. value: smart
  15. - dps_val: manual
  16. value: normal
  17. - dps_val: sleep
  18. value: sleep
  19. - id: 4
  20. name: speed
  21. type: string
  22. mapping:
  23. - dps_val: low
  24. value: 33
  25. - dps_val: mid
  26. value: 66
  27. - dps_val: high
  28. value: 100
  29. secondary_entities:
  30. - entity: switch
  31. translation_key: ionizer
  32. category: config
  33. dps:
  34. - id: 6
  35. type: boolean
  36. name: switch
  37. - entity: switch
  38. translation_key: uv_sterilization
  39. category: config
  40. dps:
  41. - id: 9
  42. type: boolean
  43. name: switch
  44. - entity: lock
  45. translation_key: child_lock
  46. category: config
  47. dps:
  48. - id: 7
  49. type: boolean
  50. name: lock
  51. - entity: light
  52. translation_key: backlight
  53. category: config
  54. dps:
  55. - id: 8
  56. type: boolean
  57. name: switch
  58. - entity: switch
  59. translation_key: keytone
  60. category: config
  61. dps:
  62. - id: 101
  63. type: boolean
  64. name: switch
  65. - entity: select
  66. translation_key: timer
  67. category: config
  68. dps:
  69. - id: 18
  70. type: string
  71. name: option
  72. mapping:
  73. - dps_val: cancel
  74. value: "Off"
  75. - dps_val: 1h
  76. value: 1 hour
  77. - dps_val: 2h
  78. value: 2 hours
  79. - dps_val: 3h
  80. value: 3 hours
  81. - dps_val: 4h
  82. value: 4 hours
  83. - dps_val: 5h
  84. value: 5 hours
  85. - dps_val: 6h
  86. value: 6 hours
  87. - dps_val: 7h
  88. value: 7 hours
  89. - dps_val: 8h
  90. value: 8 hours
  91. - dps_val: 9h
  92. value: 9 hours
  93. - dps_val: 10h
  94. value: 10 hours
  95. - dps_val: 11h
  96. value: 11 hours
  97. - dps_val: 12h
  98. value: 12 hours
  99. - entity: sensor
  100. name: Air Quality
  101. class: enum
  102. icon: mdi:air-filter
  103. dps:
  104. - id: 21
  105. type: string
  106. name: sensor
  107. mapping:
  108. - dps_val: excellent
  109. value: Excellent
  110. - dps_val: good
  111. value: Good
  112. - dps_val: difference
  113. value: Bad
  114. - entity: sensor
  115. class: pm25
  116. dps:
  117. - id: 2
  118. type: integer
  119. name: sensor
  120. unit: µg/m³
  121. - entity: sensor
  122. name: Filter days left
  123. class: duration
  124. category: diagnostic
  125. icon: "mdi:air-filter"
  126. dps:
  127. - id: 16
  128. name: sensor
  129. type: integer
  130. unit: d