17 lines
312 B
Bash
Executable File
17 lines
312 B
Bash
Executable File
## 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
|