]> git.giorgioravera.it Git - homeassistant.git/commitdiff
Removed Upgrade Script
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Fri, 17 Jan 2020 10:14:22 +0000 (11:14 +0100)
committerGiorgio Ravera <giorgio.ravera@gmail.com>
Fri, 17 Jan 2020 10:14:22 +0000 (11:14 +0100)
components/google_assistant/home_assistant.yaml
script/home_assistant.yaml
shell_command/homeassistant.yaml [deleted file]
shell_scripts/homeassistant_upgrade.sh [deleted file]
ui-lovelace.yaml

index 427bcef9e5a095177aea521949191380043e1225..6c53512c843908fab2b23d02faccb32c7761d431 100644 (file)
@@ -18,10 +18,6 @@ script.homeassistant_restart:
   name: Riavvia Homeassistant
   expose: true
   room: Generale
-script.homeassistant_upgrade:
-  name: Aggiorna Homeassistant  
-  expose: true
-  room: Generale   
 script.homeassistant_google_home_sync:
   name: Sincronizza Homeassistant
   expose: true
index cedd9e1435526617a7e0b61b220a817df3830cdc..6cda0d3db78b55a093221700cab3d5e9ed952419 100644 (file)
@@ -24,19 +24,9 @@ homeassistant_clearlog:
       data:
         keep_days: 0
 
-######################################################################
-# Home Assistant: Upgrade
-# - homeassistant.restart
-######################################################################
-
-homeassistant_upgrade:
-  alias: "Aggiornamento"
-  sequence:
-    - service: shell_command.homeassistant_upgrade
-
 ######################################################################
 # Home Assistant: Sync with Google Home
-# - homeassistant.restart
+# - google_assistant.request_sync
 ######################################################################
 
 homeassistant_google_home_sync:
diff --git a/shell_command/homeassistant.yaml b/shell_command/homeassistant.yaml
deleted file mode 100644 (file)
index f665123..0000000
+++ /dev/null
@@ -1 +0,0 @@
-homeassistant_upgrade: 'bash /config/shell_scripts/homeassistant_upgrade.sh'
diff --git a/shell_scripts/homeassistant_upgrade.sh b/shell_scripts/homeassistant_upgrade.sh
deleted file mode 100755 (executable)
index 70ed341..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/bash
-
-HASS_HOME="/config"
-LOG_FILE="$HASS_HOME/home-assistant_upgrade.log"
-
-echo "Changed directory to homeassistant home"
-cd $HASS_HOME
-#echo "Activating python environment"
-#source bin/activate
-echo "Starting upgrading homeassistant"
-pip3 install --upgrade homeassistant 2>&1 | tee $LOG_FILE
-echo "Done"
index 3115c490cf341ef509e1e7067fbe64a33f306884..9624f37f5b25e98cf75ce3e53da4847c8de3693d 100644 (file)
@@ -1404,7 +1404,6 @@ views:
           entities:
           - script.homeassistant_restart
           - script.homeassistant_clearlog
-          - script.homeassistant_upgrade
           - script.homeassistant_google_home_sync
         - type: entities
           title: Operazione sui Dispositivi