After setting up HA on Raspberry Pi, I added a local hosts entry in C:\Windows\System32\drivers\etc\hosts
192.168.x.x homeassistant.local homeassistant
After that, I could ping homeassistant.local from a command prompt, but Microsoft Edge was unable to connect to http://homeassistant.local:8123. Furthermore, I noticed the site resolves using Google Chrome.
Turns out it had to do with Microsoft Edge security settings:
- Open Microsoft Edge settings
- Open Privacy, search and services
- Scroll down to Microsoft Edge Secure Network, Optimized is selected
- Select Manage Secure Network sites
- Add homeassistant.local to
Never use Secure Netwrok for these sites
Now the name resolution works.