
Next we need to add the add-on as media_player to our configuration.yaml: media_player : platform : mpd

It can be controlled via a web ui called ympd and from Home Assistant directly as an media_player entity. The Add-on provides an installation of MPD, an open source music player. In Home Assistant I did following steps to integrate the speaker. The speaker is powered over the USB of the Raspi. It already has an 3.5mm audio jack which I used to attach an old portable speaker.

I have Home Assistant running on a RaspberryPi 3B+.

My first use case is that I want Home Assistant to literally tell me when I should air my room based on the current CO2 value. For a long time I wanted to add audio to my Home Assistant Setup.
