From fbf2a851b30e10fdb150de42f6971656ba49cdc6 Mon Sep 17 00:00:00 2001 From: ewilly Date: Thu, 27 Aug 2020 20:58:38 +0200 Subject: [PATCH] Update --- .../bin/upgrade_homeassistant.sh | 4 +- .../configuration.yaml | 69 +------------------ manifest.json | 2 +- scripts/_common.sh | 2 +- 4 files changed, 6 insertions(+), 71 deletions(-) diff --git a/conf/homeassistant_conf_files/bin/upgrade_homeassistant.sh b/conf/homeassistant_conf_files/bin/upgrade_homeassistant.sh index 82d127a..e29ce7a 100755 --- a/conf/homeassistant_conf_files/bin/upgrade_homeassistant.sh +++ b/conf/homeassistant_conf_files/bin/upgrade_homeassistant.sh @@ -14,10 +14,10 @@ python3 -m venv "$final_path" . "$final_path/bin/activate" # upgrade required python package -pip install --upgrade wheel +python3 -m pip install --upgrade wheel # upgrade homeassistant python package -pip install --upgrade $app +pip3 install --upgrade $app # restart homeassistant systemd service sudo systemctl restart $app@$app.service diff --git a/conf/homeassistant_conf_files/configuration.yaml b/conf/homeassistant_conf_files/configuration.yaml index a46e77a..c92879f 100644 --- a/conf/homeassistant_conf_files/configuration.yaml +++ b/conf/homeassistant_conf_files/configuration.yaml @@ -3,12 +3,6 @@ homeassistant: - type: command_line command: /home/homeassistant/.homeassistant/bin/ynh_ldap-auth.sh meta: true - name: Home - latitude: 0 - longitude: 0 - elevation: 0 - unit_system: metric - time_zone: UTC http: server_port: __PORT__ @@ -16,68 +10,9 @@ http: trusted_proxies: - 127.0.0.1 - ::1 - ip_ban_enabled: True - login_attempts_threshold: 5 -# Lovelace mode -lovelace: - mode: yaml - -# Enables the frontend -frontend: - javascript_version: latest - -# Enables configuration UI -config: - -# Enables health -system_health: - -# Checks for available updates -updater: - -# Discover some devices automatically -discovery: - -# Allows you to issue voice commands from the frontend in enabled browsers -conversation: - -# Enables support for tracking state changes over time -history: - -# View all events in a logbook -logbook: - -# Enables a map showing the location of tracked devices -map: - -# Track the sun -sun: - -# Text to speech -tts: - - platform: google - -# Cloud -cloud: - -# Sensors -sensor: - - platform: version - - platform: rest - resource: https://pypi.python.org/pypi/homeassistant/json - name: "Latest Available Version" - value_template: '{{ value_json.info.version }}' - scan_interval: 3600 - -# Binary sensors -binary_sensor: - - platform: template - sensors: - ha_update_available: - friendly_name: An update is available - value_template: >- - {{states.sensor.latest_available_version.state != "unavailable" and states.sensor.latest_available_version.state != states.sensor.current_version.state}} +# Apply default set of integrations +default_config: # Switches switch: diff --git a/manifest.json b/manifest.json index 5f4267b..4cd1c96 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Home automation platform", "fr": "Plateforme domotique" }, - "version": "1.0.0", + "version": "1.1.0", "url": "https://github.com/home-assistant/home-assistant", "license": "Apache-2.0", "maintainer": { diff --git a/scripts/_common.sh b/scripts/_common.sh index 61e51e1..08267d0 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -3,7 +3,7 @@ # # Release to install -VERSION=0.114.0 +VERSION=0.114.4 # Package dependencies PKG_DEPENDENCIES="python3 python3-venv python3-pip build-essential libssl-dev libffi-dev python3-dev"