kogan_air_purifier.yaml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. name: Kogan Air Purifier
  2. products:
  3. - id: 5cum0gfsx8rhpvvl
  4. name: Kogan Air Purifier KAIRPRFR2SA
  5. primary_entity:
  6. entity: fan
  7. translation_only_key: fan_with_presets
  8. dps:
  9. - id: 1
  10. type: boolean
  11. name: switch
  12. - id: 4
  13. type: string
  14. name: preset_mode
  15. mapping:
  16. - dps_val: 1
  17. value: "sleep"
  18. - dps_val: 2
  19. value: "strong"
  20. - dps_val: 3
  21. value: "smart"
  22. secondary_entities:
  23. - entity: sensor
  24. name: Filter remaining
  25. icon: "mdi:shield-bug"
  26. dps:
  27. - id: 5
  28. name: sensor
  29. type: integer
  30. unit: "%"
  31. - entity: light
  32. name: Light
  33. category: config
  34. dps:
  35. - id: 101
  36. type: string
  37. name: brightness
  38. mapping:
  39. - dps_val: cancle
  40. value: 0
  41. - dps_val: 1
  42. value: 128
  43. - dps_val: 2
  44. value: 255
  45. - entity: button
  46. name: Filter reset
  47. category: config
  48. class: restart
  49. dps:
  50. - id: 11
  51. type: boolean
  52. name: button
  53. - entity: select
  54. translation_key: timer
  55. category: config
  56. dps:
  57. - id: 19
  58. type: string
  59. name: option
  60. mapping:
  61. - dps_val: 1
  62. value: "Off"
  63. - dps_val: 2
  64. value: "4 hours"
  65. - dps_val: 3
  66. value: "8 hours"
  67. - entity: sensor
  68. translation_key: time_remaining
  69. class: duration
  70. dps:
  71. - id: 20
  72. name: sensor
  73. type: integer
  74. unit: min
  75. - entity: sensor
  76. name: Air quality
  77. class: enum
  78. icon: "mdi:air-filter"
  79. dps:
  80. - id: 22
  81. name: sensor
  82. type: string
  83. mapping:
  84. - dps_val: 1
  85. value: "Good"
  86. - dps_val: 2
  87. value: "Normal"
  88. - dps_val: 3
  89. value: "Poor"
  90. - dps_val: 4
  91. value: "Severe"