Developer Denys Dovhan has released an air purifier card (simply called Purifier Card) for the Home Assistant frontend. The thermostat card has been part of Home Assistant for some time, and the Purifier Card clearly draws inspiration from it. The Purifier Card displays the state of your air purifier and allows controlling it using several presets.
How to install the Purifier Card
As with most community additions to Home Assistant, the Purifier Card is available in HACS (Home Assistant Community Store). Simply search for Purifier Card and it should pop up. If the card is missing, simply add the following repository to HACS and you will be able to find it:
If for some reason you do not have HACS installed (you really should give it a go) or have no interest in installing it, you can also manually install the card. Instructions on how to do that are available on the GitHub page.
How to configure the Home Assistant Purifier Card
There are many configuration options available, as detailed in the documentation. Besides the required basic information, such as which air purifier you want to control, there are some customizations. I, personally, disliked the animation and felt that the custom card took up too much space, so I set the option
Which air purifiers does Home Assistant support?
Since the Air Purifier custom card has been released, numerous air purifiers have been confirmed to be supported. As the author wrote the code for their Xiaomi Mi Air Purifier, it took some time for the community to provide feedback on other models. So far, the Xiaomi Mi Air Purifier 3 and 2 series, the Coway Airmega 300S/400S (using IoCare custom component), Dyson Pure Humidify+Cool, and Winix AM90 Wi-Fi Air Purifier have been confirmed to be fully functional.