Vscode extension

when you go to http://10.10.0.21:6052/vscode you should get a string saying: Can "Upgrade" only to "WebSocket".
What are you getting?
If it does not connect, check on the add ons configuration two things:

  1. Inside config you should have:
{
  "leave_front_door_open": true
}
  1. Inside network where it says container: 6052/tcp you must write 6052 where

Then restart the add on.

In any case you cannot open the yaml files from the esp directly, you need to
a) have a copy of the yaml files on your local file system
b) have a shared folder (samba addon) and open that folder with esphome
c) use vscode remote, but this one is harder as I don’t know if it works with Hass.io, so I’ll recommend b

b is also better because you’ll keep the files in sync with the Dashboard.