I’ve found HomeKit to be pretty resilient. During internet outages it still functions locally, which was an important design choice for me.
There was one time where it went on the fritz and ultimately fixed itself when I restarted my phone (wish there was more troubleshooting or audit logging, but that’s endemic to all Apple products not just HomeKit)