smartmi_e1_purifier.yaml 980 B

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