]> git.giorgioravera.it Git - homeassistant.git/commitdiff
Improvements to shell scripts
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Sat, 20 Jul 2019 10:49:19 +0000 (12:49 +0200)
committerGiorgio Ravera <giorgio.ravera@gmail.com>
Sat, 20 Jul 2019 10:49:19 +0000 (12:49 +0200)
shell_scripts/homeassistant_upgrade.sh
shell_scripts/shelly_upgrade.sh

index 5f1e269375a6ccae9e8eb5eb3f640fb0956431a4..9e431f269f8e1d42d792847d6cc33b661f77b055 100755 (executable)
@@ -5,5 +5,5 @@ cd
 echo "Activating python environment"
 source bin/activate
 echo "Upgrading homeassistant"
-pip3 install --upgrade homeassistant > /var/log/homeassistant/upgrade.log
+pip3 install --upgrade homeassistant 2>&1 | tee /var/log/homeassistant/upgrade.log
 echo "Done"
index ec4011a034451cb5e5dff6d404c1c12543b89b80..c24c317db225cdbf58b0c4a50c2af54d4ff89da4 100644 (file)
@@ -11,8 +11,8 @@ SHELLY_ID=(
        shelly1-24D1EE
        shelly1-93B27D
        shellyswitch25-7457D8
-  shelly1-59E18C
-  shelly1-24D1A8
+       shelly1-59E18C
+       shelly1-24D1A8
        shellybulb-BC8610
 )