HomeKit Think that devices are online but they are not

Hi, I would appreciate your help, I’m using HomeKit with HA and ZHA
I noticed that when I disconnect the hub, if I try to turn on, for example, light from HA directly, then I get an error and the switch turns off.
But for HomeKit it doesn’t look like that. He sees that everything is normal and if I try to turn on the light he thinks he turned it on and everything is fine.
This is not behavior I expect you to have.
I come from HomeBridge and it’s not like that there.
I would love to understand what I am missing.

Home Assistant OS: 2023.11.3