I access my Home Assistant in my Windows browser locally via http. I wanted to replicate the Companion experience, so set up a shortcut/PWA. Annoyingly the top part of the screen was taken up with a large warning about the site not being secure.
Here is how to get rid of it. This should work for all Chrome based browsers, but you may need to change the path to get to the flags page. Here are links for Brave and Chrome.
- Go to the Flags page for your browser.
- brave://flags/#block-insecure-private-network-requests
- chrome://flags/#block-insecure-private-network-requests
- Enter the URL to reach your Home Assistant browser in the box (e.g. http://hassio.local:8123)
- Change drop down to Enabled
- Reload browser
You should no longer get the warning message/bar at the top of the page.