When I want to add new ESPHome device to Home Assistant, the mdns name doesn’t work, I have to use the ip address. Which is strange, because I can ping / avahi-resolve the mdns name from the same machine as Home Assistant is running on (or any other machine in the local network.
Example pictures
I should be able to use the mdns name when adding the ESPHome device, right?
Home Assistant is the latest version (2022.7.6) it normally runs in a docker, but I have tried a Python venv today as well to see if there was any difference - it wasn’t.
The ESPHome devices run ESPHome version 2022.6.2, the Home Assistant machine runs Debian 11.
Any idea on how to debug this further?
There doesn’t seem to be a cli for Home Assistant installed in a Python virtual environment. Perhaps it is only for Home Assistant OS?
tingo@heim:~/projects/venv-test-homeassistant$ source env/bin/activate
(env) tingo@heim:~/projects/venv-test-homeassistant$ ha
-bash: ha: command not found
(env) tingo@heim:~/projects/venv-test-homeassistant$
Well, yes, that’s what I’m trying to do. The only problem is that it seems to work fine - outside of Home Assistant. That’s why I’m asking about clues to debug this further.