Thermostat Programming for Multiple Rooms

I'm looking to purchase a new thermostat and I'm trying to identify one that meets my needs. Ideally I'd like to find one that would let me program it using the following scenario:

If Room A gets below 72, heat it to 72. Then, if room B gets below 65, heat it to 65, but do not let Room A get above 75.

The issue I'm facing is that the baby's room (A) gets way hotter than the downstairs (B). The downstairs also gets very cold, but that's where the thermostat is. So I need a thermostat with a 2nd room sensor, and ideally one that would let me keep the baby's room in a certain temp window (the priority) without letting the downstairs get too frigid.

Anyone know if any of the current models would let me do this? I know both Nest and Ecobee have room sensors, but I'm not clear on the programming capabilities.