So I'll get right to it. I have a contact sensor that is properly setup in Alexa (she can "see" the sensor as a device and will properly report the actual sensor state via the Alexa app). Additionally, I am able to create routines using this sensor as the trigger (i.e. "When this happens...").
So, I created a routine that says WHEN the sensor CLOSES then turn on some lights. The routine saved and everything is great. I can test the routine by pressing the little blue play button on the routine screen of the alexa app and the lights turn on. Unfortunately, when the sensor state actually CLOSES (as verified via the Alexa app), the lights do not turn on.
Any ideas as to why? Are there some obtuse security settings or something I'm missing?
Not sure the sensor or hub type matters either. I can see ACTUAL sensor state changes via the Alexa app, but these state changes don't translate into a successful operational routine. FWIW, the sensor is connected via a SmartThings hub.
For me it matters since you have introduced a variable into your home automation that I have zero experience with.
Other possible things might be the active days, times and time suppressed in each routine. Yes the routine will always play just by manually running it but if the scheduling parameters are off then it will not be automatic.