The scenario you outlined is somewhat complicated and SmartThings can’t really do this with any built-in tools. There are community developed apps that should be able to accomplish this. I would start by setting up Rule Machine and seeing how far that can get you. Make sure to read the description and instructions fully.
2 Likes