Lovelace: Xiaomi - Mi air purifier 3H card

I can confirm that

1 Like

Thank you for confirming

@bjorn.sivertsen Iā€™m trying your configuration and Iā€™m having troubles figuring out what is the number.bedroomair_purifier_fan_level entity so I can replace it with mine. I have the mi air 3H, so I should have that entity.

Thanks for making this available to the community. Iā€™ve created my own version, mostly based on the version by @bjorn.sivertsen, with a few modifications and additions.

My ā€œFavorite modeā€ (alternative auto mode) looks like this:
image

Some of the modifications I made:

  • Added the default Auto mode
  • Added a selector to adjust the Favorite fan level
  • Added color indication on the Favorite symbol according to PM 2.5 level (green, yellow, orange, red)
  • Added adjustment for LED brightness (off, dim, bright)
  • Added lock/unlock for the display button (Child-lock)
  • Added control for buzzer (on, off)
  • Included some more automations

If anyone is interested my version is in my Github repository here

I tried to include a detailed instruction that can be followed even by someone completely new to Home Assistant, so pardon me for the spoon-feeding! :slight_smile:

3 Likes

Hi Christer, Iā€™ve since moved to a less polluted area of the city, and have actually stopped using my purifier.

But a bit kudos to taking it further (and the fantastic instructions!), your additions make a lot of sense! :slight_smile:

Have you found a solution to this, I have the same question?

hi,
how can i get the token for configuration.yaml, id for automation.yaml?
i am new in home assistant things.
thank you!

If you install the addon, it should sort the token for you through the process.

Id for automation doesnā€™t matter and you can give it any you like. If you create an automation through the UI, it is automatically generated.