2016-10-13 18:14:43 +00:00

15 lines
255 B
Bash
Executable File

#!/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