Google Nest Remote Sensor (Can I automate when to use them)

I just got a Nest 4th Gen that came with a remote sensor.

I would love to put this in a room above the garage that gets much warmer or cooler than the rest of the house.

I have a motion sensor so I would love to say when motion in detected make the Nest use the remote sensor as the primary temperature device. If not motion is detected then go back to the base unit to base the temperature off of.

Anyone know if that is possible. I am not seeing a way to do it. So not sure if it is not possible or if I am missing something.