I built some personal projects that involved devices like this.
I have every incentive to keep it local. Yet I connect it to a host on the internet. It turns out that it is convoluted and less reliable to have local servers and stuff....
fair, local is more work up front. if you used well established projects, i would beg to differ. I've been running on one these raspberry pis for 5 years with just minimal updates. the tasmotas get firmware update when needed but often rare. I think i had to remove one after 8 years but so far so good. i expect the other 20 to keep going for another 10 years at this point.