There isn’t a password set, so you can’t FTP in to edit it using homeassistant
. You have 3 options here (in order of recommendation):
- SSH into the Pi using the
pi
user. Then, runsudo su - homeassistant
to switch to thehomeassistant
user, where you can usenano
orvi
to edit the file. (Most recommended solution)
- Or, you can just run
sudo nano [path to file]
aspi
any time you want to edit the file, which will just use a sudo to root to edit the file.
- Figure out how to tell your FTP client to use the SCP protocol and force it to run
sudo su
. (I’ve honestly never done this before)
Permission to edit/overwrite the configuration.yaml file - Change permission on the file to allow the group
homeassistant
to edit the file
Can't Edit Configuration.YAML - Permission
You should definitely do the first one if possible.