def volume_down(self):
        if self.volume_level > 0:
            self.set_volume_level(max(0, self.volume_level - .1))
Turn volume down for media player.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/media_player/__init__.py/MediaPlayerDevice.volume_down