##  These scripts are run from /home/pi 

#!/bin/bash

cd /home/hass/.homeassistant
source /srv/hass/hass_venv/bin/activate
hass --script check_config

git add .
git status
echo -n "Enter the Description for the Change: " [Minor Update]
read CHANGE_MSG
git commit -m "${CHANGE_MSG}"
git push origin master

exit