Add missing options to Supervisor's core/options endpoint (#1146)

This commit is contained in:
Stefan Agner 2021-11-30 18:18:14 +00:00 committed by GitHub
parent c34b75731a
commit 448c7c2335
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -960,18 +960,20 @@ Update options for Home Assistant, you need to supply at least one of the payloa
You need to call `/core/restart` after updating the options.
:::tip
Passing `image` with `null` and `version_latest` with `null` resets these options.
Passing `image`, `refresh_token`, `audio_input` or `audio_output` with `null` resets the option.
:::
**Payload:**
| key | type | description |
| -------------- | -------------- | ----------------------------------- |
| image | string | Name of custom image or null |
| version_latest | string or null | Optional for custom image or null |
| port | string | The port that Home Assistant run on |
| ssl | boolean | `true` if SSL is enabled |
| watchdog | boolean | `true` if watchdog is enabled |
| boot | boolean | Start Core on boot |
| image | string or null | Name of custom image |
| port | int | The port that Home Assistant run on |
| ssl | boolean | `true` to enable SSL |
| watchdog | boolean | `true` to enable the watchdog |
| wait_boot | int | Time to wait for Core to startup |
| refresh_token | string or null | Token to authenticate with Core |
| audio_input | string or null | Profile name for audio input |
| audio_output | string or null | Profile name for audio output |