kogan_5pro_airpurifier.yaml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. name: Air purifier
  2. products:
  3. - id: bsgh7gwfmazrxsta
  4. manufacturer: Kogan
  5. model: AP-3029UAS
  6. entities:
  7. - entity: fan
  8. translation_only_key: fan_with_presets
  9. dps:
  10. - id: 1
  11. type: boolean
  12. name: switch
  13. - id: 3
  14. type: string
  15. name: preset_mode
  16. mapping:
  17. - dps_val: auto
  18. value: smart
  19. - dps_val: sleep
  20. value: sleep
  21. - dps_val: manual
  22. value: manual
  23. - id: 4
  24. name: speed
  25. type: string
  26. mapping:
  27. - dps_val: low
  28. value: 25
  29. - dps_val: mid
  30. value: 50
  31. - dps_val: high
  32. value: 75
  33. - dps_val: turbo
  34. value: 100
  35. - entity: sensor
  36. class: pm25
  37. dps:
  38. - id: 2
  39. type: integer
  40. name: sensor
  41. unit: ugm3
  42. class: measurement
  43. - name: Filter remaining
  44. entity: sensor
  45. icon: "mdi:shield-bug"
  46. dps:
  47. - id: 5
  48. name: sensor
  49. type: integer
  50. unit: "%"
  51. - translation_key: child_lock
  52. entity: lock
  53. category: config
  54. dps:
  55. - id: 7
  56. type: boolean
  57. name: lock
  58. - entity: light
  59. translation_key: indicator
  60. category: config
  61. dps:
  62. - id: 8
  63. type: boolean
  64. name: switch
  65. - translation_key: uv_sterilization
  66. entity: switch
  67. category: config
  68. dps:
  69. - id: 9
  70. type: boolean
  71. name: switch
  72. - translation_key: filter_reset
  73. entity: button
  74. category: config
  75. dps:
  76. - id: 11
  77. type: boolean
  78. name: button
  79. optional: true
  80. - translation_key: time_remaining
  81. entity: sensor
  82. class: duration
  83. dps:
  84. - id: 20
  85. type: integer
  86. name: sensor
  87. unit: s
  88. - translation_key: air_quality
  89. entity: sensor
  90. class: enum
  91. dps:
  92. - id: 21
  93. name: sensor
  94. type: string
  95. mapping:
  96. - dps_val: great
  97. value: excellent
  98. - dps_val: good
  99. value: good
  100. - dps_val: Medium
  101. value: moderate
  102. - dps_val: severe
  103. value: severe
  104. - class: problem
  105. entity: binary_sensor
  106. category: diagnostic
  107. dps:
  108. - id: 22
  109. type: bitfield
  110. name: sensor
  111. mapping:
  112. - dps_val: 0
  113. value: false
  114. - value: true
  115. - id: 22
  116. type: bitfield
  117. name: fault_code
  118. - name: Filter time
  119. entity: sensor
  120. class: duration
  121. dps:
  122. - id: 101
  123. name: sensor
  124. type: integer
  125. unit: s
  126. - translation_key: timer
  127. entity: number
  128. class: duration
  129. category: config
  130. dps:
  131. - id: 102
  132. type: integer
  133. name: value
  134. unit: h
  135. range:
  136. min: 0
  137. max: 12