Hass.io, recover config files from cli
by Andrew Calcutt
—
last modified
2020-01-07T20:39:48+00:00
Source: https://community.home-assistant.io/t/edit-configuration-yaml-with-hass-io-cli/100421/9
login
to get out of hassio cli and into bashdocker ps
to get a list of containers- note the first 3 characters or so of the container for homeassistant - for me it was 51a
docker exec -it 51a /bin/bash
ls
to make sure configuration.yaml is therevi configuration.yaml
to edit the file- edit your mistake
- esc +
:wq
to save and exit exit
thenlogin
to get back to hassio CLIhomeassistant check
to make sure the conf is right this timehomeassistant restart
Document Actions