def set_temperature(self, temperature):
        if self.device.mode == 'range':
            if self.target_temperature == self.target_temperature_low:
                temperature = (temperature, self.target_temperature_high)
            elif self.target_temperature == self.target_temperature_high:
                temperature = (self.target_temperature_low, temperature)
        self.device.target = temperature
Set new target temperature.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/thermostat/nest.py/NestThermostat.set_temperature