Thermostat Automation

We own a rental condo and I would like to have ST shut down the thermostat if any of my selected open/close sensors are open for longer than 10 minutes.

How would I go about setting this up?

one option you may want to look at is @RBoy apps…

There is not way to do this within ST itself, or a free version?