Skip to content

Commit ead411f

Browse files
authored
Update create_hassio_addon.markdown
1 parent 43c5193 commit ead411f

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

source/hassio/create_hassio_addon.markdown

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,20 +43,16 @@ As a user might run many add-ons, it is encouraged to try to stick to Bash scrip
4343
},
4444
"map": ["config", "ssl", "addons", "backup"],
4545
"options": {},
46-
"schema": {
47-
"bla": "str|int|float|bool|email|url",
48-
   "list_1": [
49-
"str|int|float|bool|email|url",
50-
],
51-
"list_2": [
52-
{"ble": "str|int|float|bool|email|url"}
53-
]
54-
},
46+
"schema": {},
5547
"image": "repo/{arch}-my-custom-addon"
5648
}
5749
```
5850

59-
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.
51+
### {% linkable_title Options / Schema %}
52+
53+
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.
54+
55+
The `schmema` look like the `options` but describe how we should validate the user input.
6056

6157
### {% linkable_title SSL %}
6258

0 commit comments

Comments
 (0)