- Get Access To Your Home Assistant Config File
- Option 1 - Install the VS Code Server Add-on
- Open Home Assistant and go to the settings menu.
- Select Add-ons
- Select “Add-on Store”
- Find the add-on called “Studio Code Server”
- Install the addon, and start it.
- Select “Open in Web UI”
- Select “configuration.yaml” in the Explorer list.
- Option 2 - Use SSH To Edit The Config
- SSH into the device running Home Assistant.
- Look for the Home Assistant config file; it could be in a few places.
- /home/homeassistant/.homeassistant/configuration.yaml
- ~/.homeassistant/configuration.yaml
- Use a command-line text editor like nano or vi to edit the file.
- Option 1 - Install the VS Code Server Add-on
- Add the following lines to the bottom of the Home Assistant config file:

