From 4aa0d31ca27abfb123568abbec6db17ce7492948 Mon Sep 17 00:00:00 2001 From: Giorgio Ravera Date: Fri, 17 Jan 2020 11:14:22 +0100 Subject: [PATCH] Removed Upgrade Script --- components/google_assistant/home_assistant.yaml | 4 ---- script/home_assistant.yaml | 12 +----------- shell_command/homeassistant.yaml | 1 - shell_scripts/homeassistant_upgrade.sh | 12 ------------ ui-lovelace.yaml | 1 - 5 files changed, 1 insertion(+), 29 deletions(-) delete mode 100644 shell_command/homeassistant.yaml delete mode 100755 shell_scripts/homeassistant_upgrade.sh diff --git a/components/google_assistant/home_assistant.yaml b/components/google_assistant/home_assistant.yaml index 427bcef9..6c53512c 100644 --- a/components/google_assistant/home_assistant.yaml +++ b/components/google_assistant/home_assistant.yaml @@ -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 diff --git a/script/home_assistant.yaml b/script/home_assistant.yaml index cedd9e14..6cda0d3d 100644 --- a/script/home_assistant.yaml +++ b/script/home_assistant.yaml @@ -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 index f665123a..00000000 --- a/shell_command/homeassistant.yaml +++ /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 index 70ed341b..00000000 --- a/shell_scripts/homeassistant_upgrade.sh +++ /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" diff --git a/ui-lovelace.yaml b/ui-lovelace.yaml index 3115c490..9624f37f 100644 --- a/ui-lovelace.yaml +++ b/ui-lovelace.yaml @@ -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 -- 2.47.3