Ok, here’s ST’s version that’s been updated to use the new formatting with app 2.0. It’s 98% all ST’s code, but it just looks better in the new app:
While this does not resolve issues on why it doesn’t work in Routines, at least it looks better, and it used ST’s refreshed code. As I mentioned above, try our Rules Machine if you haven’t yet: