smartmi_e1_purifier.yaml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. name: Air Purifier
  2. products:
  3. - id: pwrmggdhwkz1lnvh
  4. manufacturer: Smartmi
  5. model: E1
  6. entities:
  7. - entity: fan
  8. translation_only_key: fan_with_presets
  9. icon: "mdi:air-purifier"
  10. dps:
  11. - id: 1
  12. name: switch
  13. type: boolean
  14. - id: 3
  15. name: preset_mode
  16. type: string
  17. mapping:
  18. - dps_val: sleep
  19. value: sleep
  20. - dps_val: auto
  21. value: normal
  22. - dps_val: manual
  23. value: strong
  24. - entity: light
  25. translation_key: indicator
  26. category: config
  27. dps:
  28. - id: 8
  29. name: switch
  30. type: boolean
  31. - entity: sensor
  32. name: Filter usage
  33. category: diagnostic
  34. class: duration
  35. icon: "mdi:shield-bug"
  36. dps:
  37. - id: 101
  38. name: sensor
  39. type: integer
  40. unit: h
  41. - entity: binary_sensor
  42. class: problem
  43. category: diagnostic
  44. dps:
  45. - id: 22
  46. type: bitfield
  47. name: sensor
  48. mapping:
  49. - dps_val: 0
  50. value: false
  51. - value: true
  52. - id: 22
  53. type: bitfield
  54. name: fault_code