smartmi_e1_purifier.yaml 862 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. name: Air Purifier
  2. products:
  3. - id: pwrmggdhwkz1lnvh
  4. name: Smartmi E1
  5. primary_entity:
  6. entity: fan
  7. translation_only_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. translation_key: indicator
  29. category: config
  30. dps:
  31. - id: 8
  32. name: switch
  33. type: boolean
  34. - entity: sensor
  35. name: Filter usage
  36. category: diagnostic
  37. icon: "mdi:shield-bug"
  38. dps:
  39. - id: 101
  40. name: sensor
  41. type: integer
  42. unit: h
  43. class: duration