'Set volume level, range 0..1.'

def set_volume_level(self, volume):

    if (self.device and ('playback' in self._device_protocol_capabilities)):
        self._local_client_control_fix()
        self.device.setVolume(int((volume * 100)), self._active_media_plexapi_type)
        self._volume_level = volume
