/// <summary> /// Send a control request to a Sesame to execute an operation. /// </summary> /// <param name="sesame">The Sesame to control.</param> /// <param name="operation">The operation to execute.</param> /// <returns>A task that indicates when the control operation is complete.</returns> public async Task <string> ControlSesameAsync(Sesame sesame, ControlOperation operation) { return(await this.ControlSesameAsync(sesame.DeviceId, operation.ToString().ToLower())); }