Help with Nest Thermostat & Alexa

I do not use the Nest Integration for my thermostat. I had been using the Nest app for control but the scheduler kept changing temps for me even though I had the learning turned off. I have Alexa linked to the Nest and I want to use Alexa for control. I have verbal morning, night, and away routines for Alexa to control the temperature and this is sufficient and works. My issue is that my I’m back routine works without any verbal communication. I tried making a virtual switch and adding this to the Alexa skill and my routine but this would not work because Alexa doesn’t recognize switches, only contact and motion sensors. I need to figure out how to put something in my I’m back routine that will trigger Alexa to set the temperature. I hope this makes sense. Please don’t tell me to use the Nest Integration.

I think I remember there being a virtual device that’s a switch and a contact. Use the switch in hubitat and the contact in Alexa.

I’ll give it a try. Thanks

Here's a driver for a virtual device that is both a contact sensor and a switch:

metadata {
	definition (name: "Virtual contact with auto-off Switch", namespace: "cw", author: "cwwilson08") {
		capability "Sensor"
		capability "Contact Sensor"
        capability "Switch"
	}   
}

preferences {
        section {
		    input (
                name: "AutoOff",
                type: "bool",
                title: "Enable auto off", 
                required: false, 
                displayDuringSetup: false, 
                defaultValue: false
            )
        }
}


def on() {
    sendEvent(name: "contact", value: "closed")
    sendEvent(name: "switch", value: "on")
    if (AutoOff) {
        runInMillis(500, off)
    }
}

def off() {
    sendEvent(name: "contact", value: "open")
    sendEvent(name: "switch", value: "off")
}   

def installed() {
}

I just took care of my issue. I found a virtual motion sensor with switch in the Hubitat package manager. I put it all together and just tested and it works. Thanks for all your help.