Unable to use door lock as a trigger for Routines

Thanks for all the help. It sounds as if a virtual switch would be the easiest option to get my designed behavior. Given that this is a temporarily implementation, I’m less inclined to spend the time learning CoRE. @TN_Oldman Is this a good way to go about the virtual switch, or do you have a pointer to better documentation?

Thanks,
Todd