If you program your thermostats themselves you mostly won’t be reliant on any cloud service.
I don’t think any thermostats, or really almost any device, will be accessible from a phone app without internet access to something.
Exception would be any home automation system that’s wholly contained in a web server running at your home and accessed via a web browser on your local network. That most definitely isn’t SmartThings.