#!/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: "
read CHANGE_MSG
git commit -m "${CHANGE_MSG}"
git push origin master
exit
Powered by TurnKey Linux.