Hass.io, recover config files from cli
Source: https://community.home-assistant.io/t/edit-configuration-yaml-with-hass-io-cli/100421/9
loginto get out of hassio cli and into bashdocker psto 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/bashlsto make sure configuration.yaml is therevi configuration.yamlto edit the file- edit your mistake
- esc +
:wqto save and exit exitthenloginto get back to hassio CLIhomeassistant checkto make sure the conf is right this timehomeassistant restart
Advertisement