Update create_hassio_addon.markdown

This commit is contained in:
Pascal Vizeli 2017-05-04 12:39:00 +02:00 committed by GitHub
parent 43c519311f
commit ead411f265

View File

@ -43,20 +43,16 @@ As a user might run many add-ons, it is encouraged to try to stick to Bash scrip
},
"map": ["config", "ssl", "addons", "backup"],
"options": {},
"schema": {
"bla": "str|int|float|bool|email|url",
   "list_1": [
"str|int|float|bool|email|url",
],
"list_2": [
{"ble": "str|int|float|bool|email|url"}
]
},
"schema": {},
"image": "repo/{arch}-my-custom-addon"
}
```
If you want to set a value to requered and need to be set from user before it start the addon, set it to null.
### {% linkable_title Options / Schema %}
The `options` dict have all available options with default value. If you want to set a value to requered and need to be set from user before it start the addon, set it to null.
The `schmema` look like the `options` but describe how we should validate the user input.
### {% linkable_title SSL %}