Janus functional thermal metadevice with predictable thermal rotation