mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-21 16:26:30 +00:00
Make schema required
This commit is contained in:
parent
1ce31dd809
commit
8bdf68c175
@ -147,7 +147,7 @@ The configuration for an add-on is stored in `config.json`.
|
|||||||
| stdin | bool | no | Boolean. If enabled, you can use the STDIN with Home Assistant API.
|
| stdin | bool | no | Boolean. If enabled, you can use the STDIN with Home Assistant API.
|
||||||
| legacy | bool | no | Boolean. If the Docker image has no `hass.io` labels, you can enable the legacy mode to use the config data.
|
| legacy | bool | no | Boolean. If the Docker image has no `hass.io` labels, you can enable the legacy mode to use the config data.
|
||||||
| options | dict | no | Default options value of the add-on.
|
| options | dict | no | Default options value of the add-on.
|
||||||
| schema | dict | no | Schema for options value of the add-on. It can be `false` to disable schema validation and use custom options.
|
| schema | dict | true | Schema for options value of the add-on.
|
||||||
| image | string | no | For use with Docker Hub and other container registries.
|
| image | string | no | For use with Docker Hub and other container registries.
|
||||||
| timeout | integer | no | Default 10 (seconds). The timeout to wait until the Docker daemon is done or will be killed.
|
| timeout | integer | no | Default 10 (seconds). The timeout to wait until the Docker daemon is done or will be killed.
|
||||||
| tmpfs | bool | no | Is this True, the containers `/tmp` is using tmpfs, an memory file system.
|
| tmpfs | bool | no | Is this True, the containers `/tmp` is using tmpfs, an memory file system.
|
||||||
|
@ -138,7 +138,7 @@ Get details about a add-on
|
|||||||
| protected | boolean | `true` if protection mode is enabled |
|
| protected | boolean | `true` if protection mode is enabled |
|
||||||
| rating | int | The addon rating |
|
| rating | int | The addon rating |
|
||||||
| repository | string | The URL to the add-on repository |
|
| repository | string | The URL to the add-on repository |
|
||||||
| schema | dictionary or null | The schema for the add-on configuration |
|
| schema | dictionary | The schema for the add-on configuration |
|
||||||
| services_role | list | A list of services and the add-ons role for that service |
|
| services_role | list | A list of services and the add-ons role for that service |
|
||||||
| slug | string | The add-on slug |
|
| slug | string | The add-on slug |
|
||||||
| stage | string | The add-on stage (stable, experimental, deprecated) |
|
| stage | string | The add-on stage (stable, experimental, deprecated) |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user