I’m new to HA, so I’m still learning and perhaps I’m not going about this the way I should. My ultimate goal is to be able to press a toggle button and turn on/off a virtual switch (boolean_switch) that triggers an Alexa Routine. I was able to accomplish this in Hubitat through a virtual contact sensor device driver.
I assumed that if I created an input boolean and configured it as a contact sensor in the Alexa environment that it would see the open/close (or on/off) and trigger the routine accordingly.
Any suggestions how I might accomplish this?