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:
parent
74a9bedc01
commit
eb6ebd9491
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue