the thing is, it really depends on the device. your alexa speakers are basically bricks without internet - they need amazon's servers to do anything useful. but your smart thermostat and light switches might have local control built in, and you probably don't even realize it. a lot of modern thermostats can still adjust temperature using their physical buttons or app if you set them up right, and some wifi switches have local protocols that let them communicate with each other without hitting the cloud first. you'd need to dig into the settings or manuals to see which ones support this.
here's a practical thing most people miss: set up a cheap mesh wifi system with a built-in backup battery or connect it to a ups (uninterruptible power supply). keeps your local network running even when your isp goes down, which means any devices that talk to each other locally will still work. so if your thermostat and lights support local control, they'll keep functioning. also consider devices that use protocols like zigbee or z-wave instead of pure cloud wifi - they're designed to work in local networks and don't need the internet. when you're replacing stuff, look for that compatibility if outages worry you.
the manual backups thing isn't really practical long-term, but having some physical controls around (like keeping old light switches in a drawer, or knowing where your thermostat's manual buttons are) is just smart planning. it's basically a game of knowing what you actually own versus what you're just renting access to through the cloud.