public async Task <CommandResult> Execute(IEnumerable <string> parameters) { _log.Verbose("Received volume command."); if (parameters.Any() && Int32.TryParse(parameters.First(), out int value)) { _log.Verbose($"Set volume by {value}"); await UpdateConfiguration(_radio.Volume(value)); } else { _output("Can't parse volume value"); } return(CommandResult.OK); }