Shelly - Devices no connection after HA restart

Hello everyone

I’ve been having this problem for a while now, more specifically since I started using my home network, where after restarting the home network, all my Shelly devices are no longer connected. If I restart them in the Shelly control panel, they appear correctly again in the home network.

Now that I have over 30 Shelly devices, I would have to do this for each one individually.

Do you have any suggestions as to what the problem might be and how I could solve it?

Thank you very much for your help.

Hi @stochsn
what do you mean with new start in the shelly control?
I use several shelly devices but never had to restart anything. Maybe you can describe what exactly you have to to after a home assistant reboot.

Did you check the HA logs?

Ok, when I restart the HA, it looks like this on the dashboard:


After restarting the device in the Shelly console it looks like this:

In the log file I find the following entry:

“Detected that custom integration ‘shelly’ calls async_forward_entry_setups for integration shelly with title: Shelly and entry_id: 01K63ZX7MHN2G7XSAM5RPMHGDB, during setup without awaiting async_forward_entry_setups, which can cause the setup lock to be released before the setup is done at custom_components/shelly/init.py, line 520: await self.hass.config_entries.async_forward_entry_setups(. This will stop working in Home Assistant 2025.1, please report it to the author of the ‘shelly’ custom integration”

The following entries are on line 520:

Do you have any idea where I should look for the error or how I can fix it?

These forums are english-only.

1 Like

Sorry, I just corrected it

1 Like

Please correct the top post. I very nearly flagged it… stochsn

1 Like

Sounds like you’re using the deprecated custom integration instead of the core integration?

Yes, it looks like you’re right.

Do I have to delete the integration entries and then delete Shelly in HACS?

Will the Shelly devices then be automatically discovered in the core application? I’m a bit concerned, not that I’m making a big mistake.

Yes they will.

Great, thank you very much. That was the solution, now everything works as expected. Thanks for your help.