mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-28 11:47:00 +00:00
Update create_hassio_addon.markdown
This commit is contained in:
parent
43c519311f
commit
ead411f265
@ -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"],
|
"map": ["config", "ssl", "addons", "backup"],
|
||||||
"options": {},
|
"options": {},
|
||||||
"schema": {
|
"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"}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"image": "repo/{arch}-my-custom-addon"
|
"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 %}
|
### {% linkable_title SSL %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user