Reconnecting all the time?


I am setting up a HomeAssistant integration to display a simple dashbboard on an elderly person’s phone.

It is using a local URL endpoint and the phone is Samsung Galaxy S5 (old, I know).
Everything works except for the fact that “Disconnected from… Trying to reconnect…” is displayed constantly.
When I go to platform settings the observed behavior is that it’s “Connecting…” for 1-2 seconds, “Connected” for up to a second, and the loop continues.

Do you have any ideas?