Took a summer vacation this year to Yosemite. We flew into Reno, Nevada and then drove to Yosemite. It is a 3.5 hr drive from Reno to Yosemite. We did stop at Lake Tahoe for a night and toured around the Lake.
At Yosemite we stayed in the valley at the Lodge at the Falls. There are no real hotels, only hotels ran by government via private contractor. You need to book a year in advance, but I checked 2 weeks out and was able to get a cancelled room for an extra $100/night. We had a great view of Yosemite Falls. The rooms don't have air conditioning and are small, but cozy.