HA lose connection to devices after long period of time

I been using HA for while and always works fine when I’m at home. I got it connected to number of device services such as Google, eWeLink, Tuya, BroadLink and many more.

However, if I leave it alone without any restart to HA or my router, one by one HA lose connection to these devices and only way to fix this by restarting the router.

This is really annoying specially when I’m away from home. Is this normal behavior? Anything to do with HA or my router (TP Link Archer C3150) ? What would be the best way to resolve this issue without periodical restart of my router?

Can you access the devices with other stuff? What about if you restart HA?

No, that is the interesting bit.

I try not to restart HA, which will reset the automation settings to default. I’m try to avoid that.

[opinion]
I think you should probably raise this issue on your router’s form instead of Home Assistant, if you can’t access the devices elsewhere.
[/opinion]
What do you mean, it will reset the settings to default? It doesn’t do anything like that for me.

I have a feeling this is related to router was wondering anyone else having similar issue.

Well, I have few automation setup and each time I restart, automation reset to default value of
initial_state

HA does not remember the status before restart, fall back to default state.

Can you remove the initial_state then?