You can use Rules API rule for copying temperature value from real device to virtual device.
Rules API rule example: