I’m pretty certain you could achieve want you want with node-red.
I used a setup over Christmas to turn on all the various Christmas lights using node red, and you can invoke whatever in HA based on the on/off, e.g.
I use only this switch with emulated hue, routines and Alexa to say . I use scripts for the action to add the condition of not opening the garage when its already open. I thought that you could turn on a switch that is already on in Alexa.
Alexa, turn off garage
Alexa, turn on garage
Alexa, open garage (routines)
Alexa, close garage (routines)
Thanks! I did see this, wasn’t sure how it would work with AppDaemon though. I’m sure how to ‘set’ the value_template portion without having a sensor. I suppose I could just tie them it to a group’s state.