From e821605d0c1fb66a1f6944fd4fe5e7e9000efee4 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Tue, 9 May 2017 15:47:49 +0200 Subject: [PATCH] Update addon_config.markdown --- source/hassio/addon_config.markdown | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/source/hassio/addon_config.markdown b/source/hassio/addon_config.markdown index 080859a7b87..9d30cc3e3ca 100644 --- a/source/hassio/addon_config.markdown +++ b/source/hassio/addon_config.markdown @@ -61,6 +61,7 @@ The config for an add-on is stored in `config.json`. "version": "1.2", "slug": "folder", "description": "long descripton", + "arch": ["amd64"], "url": "website with more information about add-on (ie a forum thread for support)", "startup": "before|after|once", "boot": "auto|manual", @@ -74,6 +75,16 @@ The config for an add-on is stored in `config.json`. } ``` +| Key | Required | Description | +| --- | -------- | ----------- | +| name | yes | Name of the addon +| version | yes | Version of the addon +| slug | yes | Slug of the addon +| description | yes | Description of the addon +| arch | no | List of supported arch: `armhf`, `aarch64`, `amd64`, `i386`. Default all. +| url | no | Homepage of the addon. Here you can explain the add-ons and options. +| startup | yes | `before` homeassistant will start. `after` homeassistant will start or `once` for application they don't run as deamon. + ### {% linkable_title Options / Schema %} The `options` dict contains all available options and their default value. Set the default value to `null` if the value is required to be given by the user before the add-on can start. Only non-nested arrays are supported.