Entities not available on first power on

I’ve a strange problem on my HA installed on raspbian.
When I power on (or reboot) the PI, i can’t view all my entities (all are set as not available).
I need to reboot HA (after the rasperry is powered and operative) from HA configuration menu to see the entities: (reboot only HA system, NOT the raspberry)

What errors are in the logs? Not the watered down UI logs, the log text file in the config folder.

I’m trying to replicate the problem but today seem to works :confused:
I’m sure this appened when poweroff main AC (when i cable new wires in the house) and then power on. Maybe is a problem of internet connection that become fully available AFTER rasperry finish to power on completely?

I don’t have that issue. Is your network off when you power up?

Yes my network is slow to reconnect… About 2 minutes… Raspberry is fully operative when network is still going to reconnect…

I would delay my HA start up to be 2 minutes after your network has started then. Otherwise you’ll be running into this issue alot.

Is it possible delay run HA from raspberry?

you’d delay starting the raspberry pi up after your network is started. If your network is up and running before you boot up the pi, then you shouldn’t have these issues. I.E. if you just plugged your router in and turned it on, wait 2 minutes before you start the raspi. If you want to automate that, you’d need a UPC or something. If these issues are internal to your pi, then there may be a way to delay the start via CLI. Something like this could be possible with portainer too.