Quick update to Solar stats maybe @dale3h

This commit is contained in:
ccostan
2018-03-25 11:58:56 -04:00
parent 96fc4a5740
commit 5c68565758
4 changed files with 52 additions and 17 deletions

View File

@@ -1,16 +1,16 @@
## These scripts are run from /home/pi
#!/bin/bash
cd /home/hass/docker_files
docker-compose exec home-assistant python -m homeassistant --config /config --script check_config
cd /home/hass/.homeassistant
source /srv/hass/hass_venv/bin/activate
hass --script check_config
cd /home/hass/docker_files/homeassistant
git add .
git status
echo -n "Enter the Description for the Change: " [Minor Update]
echo -n "Enter the Description for the Change: [Minor Edit] "
read CHANGE_MSG
CHANGE_MSG=${CHANGE_MSG:-Minor Edit}
git commit -m "${CHANGE_MSG}"
git push origin master
cd ~
exit