Skip to content

Instantly share code, notes, and snippets.

@cbschuld
Last active August 16, 2020 21:49
Show Gist options
  • Save cbschuld/4bbd23e1454e2de68d18b8ec25571c67 to your computer and use it in GitHub Desktop.
Save cbschuld/4bbd23e1454e2de68d18b8ec25571c67 to your computer and use it in GitHub Desktop.
Check Home Assistant Configuration

Checking Home Assistant Configuration Files

My HA is hosted/enabled via Docker thus I need to get enter the docker directly OR call the configuration check directly.

Enter the Docker Container and Check

Move into the docker instance

docker exec -it homeassistant /bin/bash

Check the configuration

hass --script check_config -c /config/

Check from the host without entering the container

docker exec -it homeassistant /usr/local/bin/hass --script check_config -c /config/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment