HomeAssystant Integration problem

Hello, I have the following problem: My home assistant integration does not work when I am away from the local network. In my home when I am on wifi there is no problem. What settings need to be made and where? Thanks.

@monix How do you normally access your Home Assistant server when away from the local network?

I have an open port in the router thanks.

Then you would need to add your public URL (ip:port) on Remote Connection screen in Home Assistant integration setup flow.
However, before going through the integration setup again, you would need enable Location permission for HomeHabit, since that would be needed to determine if the device is on local network by Wifi network name. Actual device location itself is not recorded anywhere.