Yeah, but i am not sure if you can with Virtual Devices (this app).
But you can with Advanced Virtual Device from Device Capabilities.
I am not sure of VD can have an onoff AND temperature propertie in one.
AVDs can, im sure, you can make it how you want youself.