@Christine-and-Andy0, make each a separate listing. When the whole house is not available, 'deactivate it' or put it in 'snooze' mode so that you can rent out the private room. Likewise, deactivate the private room when you want to rent out the entire house.
That way there'll be no confusion regarding your calendar. However, you'll need to be very careful regarding bookings (e.g. don't allow them further ahead than the period you know you won't be needing the house), as you won't want to inadvertently allow a booking when in fact the dates for that listing won't be available.