Set Sensor Temperature to Virtual Device Temperature

Hi all, basically all I wanted to accomplish was to make a virtual motion sensor's temperature equal to my Zigbee Motion Sensor Temperature.

Sounds simple enough, but...

Since I'm in Canada and we use Celsius instead of Fahrenheit, I had a little bit of difficulty accomplishing this. The problem seems to be that the setTemperature function on the Virtual Motion Sensor is looking for temperature in Fahrenheit even though my unit of measurement is set to Celsius. Full disclosure, I got it to work (by taking value from sensor, multiplying by 1.8 and adding 32), so no biggie, but I'm thinking this is not working as intended since the setTemperature function should be looking for temperature in the unit chosen on Hubitat? (Unless it shouldn't) Just wanted to share my experience.