

That’s exactly what I do. I also have IoT devices that are still trucking along a decade later. I fully expect them to likely do a decade more.
Both Tasmota and ESPhome provide open source firmware for many IoT devices. They throw up a local API interface that other systems can talk to. Providing legacy support is as hard as using HTML put and get commands.

Adopting a rescue dog has various home checks and interviews and welfare checks. Leaving hospital with a baby: “Do you have a car seat for them?”, “Yes…”, “You’re all good to go then!”, “…”