def set_volume_level(self, volume):
        self.client.setvol(int(volume * 100))
Set volume of media player.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/media_player/mpd.py/MpdDevice.set_volume_level