Struggling with what should be a simple issue to fix. My home assistant web gui is not running. Accessed my Home assisstant CLI directly through console and I’ve run ‘core check’ which confirms there’s a duplicate entry in my ‘configuration.yaml’ file.
I normally access my .yaml files through samba share, ssh terminal, or file editor but these services aren’t set to start automatically so as far as I can tell, its not an option since I cant access web gui to initialize.
So my question is: how else can I access my configuration.yaml file so I can edit and resolve! Is there a way I can access and edit the file directly through HA CLI? Through the host system itself?
Disregard. For whatever reason, after a few hours, I was able to access HA from web gui again and was able to access my config.yaml through file editor to fix.
i — Switch to Insert mode.
Esc — Switch to Command mode.
:w — Save and continue editing.
:wq or ZZ — Save and quit/exit vi.
:q! — Quit vi and do not save changes.