Routine to Arm Monitor based on lock AND presence?

I would like to create a routine to set the system to armed when both of my phones are away AND my deadbolt is locked. The phones are not a problem but I cannot see how to check the mode of the deadbolt. Any help is appreciated.

You can’t do it with just a routine, but there are several other automation options available with SmartThings which will allow this. :sunglasses:

See the following FAQ( this is a clickable link)