mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-15 10:04:35 +00:00
Quick update to Solar stats maybe @dale3h
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user