Home-AssistantConfig/shell_scripts/HAUpdate.sh

13 lines
220 B
Bash
Executable File

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