1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/homeassistant_ynh.git synced 2024-09-03 19:26:16 +02:00

Add HA upgrade switch

This commit is contained in:
ewilly 2021-11-14 15:13:51 +01:00
parent 74a9bedc01
commit eb6ebd9491

View file

@ -13,3 +13,11 @@ http:
# Apply default set of integrations
default_config:
# Switches
switch:
- platform: command_line
switches:
upgrade_homeassistant:
command_on: "nohup bash -c /home/yunohost.app/homeassistant/.homeassistant/bin/upgrade_homeassistant.sh $1 > /dev/null 2>&1 &"
friendly_name: Upgrade Home Assistant