Need help with app

I now have an Alexa routine that turn off certain lights, closes yolink valves and locks doors. Alexa announces when the routine is complete.
What I would like to do is have Alexa announce if any locks did not lock or are still unlocked or valves did not close.
I'd like to do this with Hubitat but may be too much trouble with all the announcements.
Thanks in advance for your help.

I have some rules that I created a while back that check a bunch of windows and adds the result in a variable. It makes for a very complex rule.

Since then, I found this app that does the same thing and use it instead in most situations. I wonder if it might do the trick for you?