smartmi_e1_purifier.yaml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. translation_key: filter_life
  33. category: diagnostic
  34. class: duration
  35. dps:
  36. - id: 101
  37. name: sensor
  38. type: integer
  39. unit: h
  40. - entity: binary_sensor
  41. class: problem
  42. category: diagnostic
  43. dps:
  44. - id: 22
  45. type: bitfield
  46. name: sensor
  47. mapping:
  48. - dps_val: 0
  49. value: false
  50. - value: true
  51. - id: 22
  52. type: bitfield
  53. name: fault_code