mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-17 02:54:41 +00:00
Quick update to Solar stats maybe @dale3h
This commit is contained in:
@@ -1,12 +1,18 @@
|
||||
## These scripts are run from /home/pi
|
||||
# ## These scripts are run from /home/pi
|
||||
#
|
||||
# #!/bin/bash
|
||||
#
|
||||
# cd /home/hass/.homeassistant
|
||||
# source /srv/hass/hass_venv/bin/activate
|
||||
#
|
||||
# echo "Processing update"
|
||||
# pip3 install --upgrade homeassistant
|
||||
#
|
||||
# hass --script check_config
|
||||
# exit
|
||||
|
||||
#!/bin/bash
|
||||
|
||||
cd /home/hass/.homeassistant
|
||||
source /srv/hass/hass_venv/bin/activate
|
||||
|
||||
echo "Processing update"
|
||||
pip3 install --upgrade homeassistant
|
||||
|
||||
hass --script check_config
|
||||
exit
|
||||
cd /home/hass/docker_files
|
||||
docker-compose down
|
||||
docker-compose pull
|
||||
docker-compose up -d
|
||||
|
Reference in New Issue
Block a user