kogan_air_purifier_5_pro.yaml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. # Protocol 3.4
  2. name: Smart air purifier
  3. products:
  4. - id: bsgh7gwfmazrxsta
  5. manufacturer: Kogan
  6. model: AP-3029UAS
  7. entities:
  8. - entity: fan
  9. translation_only_key: fan_with_presets
  10. dps:
  11. - id: 1
  12. type: boolean
  13. name: switch
  14. - id: 3
  15. type: string
  16. name: preset_mode
  17. mapping:
  18. - dps_val: auto
  19. value: smart
  20. - dps_val: sleep
  21. value: sleep
  22. - dps_val: manual
  23. value: manual
  24. - entity: sensor
  25. class: pm25
  26. dps:
  27. - id: 2
  28. type: integer
  29. name: sensor
  30. unit: ugm3
  31. class: measurement
  32. - name: Preset mode
  33. entity: select
  34. category: config
  35. dps:
  36. - id: 3
  37. name: option
  38. type: string
  39. mapping:
  40. - dps_val: auto
  41. value: Smart
  42. - dps_val: sleep
  43. value: Sleep
  44. - dps_val: manual
  45. value: Manual
  46. - name: Fan speed
  47. entity: select
  48. category: config
  49. icon: "mdi:fan"
  50. dps:
  51. - id: 4
  52. name: option
  53. type: string
  54. mapping:
  55. - dps_val: low
  56. value: Low
  57. - dps_val: mid
  58. value: Medium
  59. - dps_val: high
  60. value: High
  61. - dps_val: turbo
  62. value: Turbo
  63. - name: Filter remaining
  64. entity: sensor
  65. icon: "mdi:shield-bug"
  66. dps:
  67. - id: 5
  68. name: sensor
  69. type: integer
  70. unit: "%"
  71. - name: Child lock
  72. entity: switch
  73. category: config
  74. icon: "mdi:lock"
  75. dps:
  76. - id: 7
  77. type: boolean
  78. name: switch
  79. - entity: light
  80. translation_key: indicator
  81. category: config
  82. dps:
  83. - id: 8
  84. type: boolean
  85. name: switch
  86. - translation_key: uv_sterilization
  87. entity: switch
  88. category: config
  89. dps:
  90. - id: 9
  91. type: boolean
  92. name: switch
  93. - translation_key: filter_reset
  94. entity: button
  95. category: config
  96. icon: "mdi:clock-outline"
  97. dps:
  98. - id: 11
  99. type: boolean
  100. name: button
  101. optional: true
  102. - name: Timer remaining
  103. entity: sensor
  104. class: duration
  105. unit: s
  106. icon: "mdi:clock-outline"
  107. dps:
  108. - id: 20
  109. type: integer
  110. name: sensor
  111. unit: s
  112. - translation_key: air_quality
  113. entity: sensor
  114. class: enum
  115. dps:
  116. - id: 21
  117. name: sensor
  118. type: string
  119. mapping:
  120. - dps_val: great
  121. value: Great
  122. - dps_val: good
  123. value: Good
  124. - dps_val: Medium
  125. value: Medium
  126. - dps_val: severe
  127. value: Severe
  128. - class: problem
  129. entity: binary_sensor
  130. category: diagnostic
  131. dps:
  132. - id: 22
  133. type: bitfield
  134. name: sensor
  135. mapping:
  136. - dps_val: 0
  137. value: false
  138. - value: true
  139. - id: 22
  140. type: bitfield
  141. name: fault_code
  142. - name: Filter time
  143. entity: sensor
  144. class: duration
  145. dps:
  146. - id: 101
  147. name: sensor
  148. type: integer
  149. unit: h
  150. mapping:
  151. - scale: 3600
  152. - name: Off timer
  153. entity: number
  154. category: config
  155. icon: "mdi:clock-outline"
  156. dps:
  157. - id: 102
  158. type: integer
  159. name: value
  160. unit: m
  161. range:
  162. min: 0
  163. max: 12