@andyainsc you've not given me a lot to go off. my device works against both the Switch and Garage Door Control capability.
I take it that when you said you used an automation routine you meant that you have used ST routines? in which case then it can only be using the switch capability as they do not support the garage door capability. but when you click open/close directly in the device handler, this also uses the same function. and as that works its not an issue with my code. it is an issue most likely with your routine.
the only thing you can do to troubleshoot is to look at the live logging when it is triggered and see if the device handler is actually being triggered. could i also suggest you look at using CoRE and create a rule that fires when a routing is triggered, it makes it easier to test and maintain