From 0177cd95281337f541eb51d8e830a6ead48c98ef Mon Sep 17 00:00:00 2001 From: Mike Degatano Date: Tue, 27 Aug 2024 11:59:52 -0400 Subject: [PATCH] Add `manual_only` option to addon boot config (#5272) * Add manual_forced option to addon boot config * Include client library in pull request template * Add boot_config to api output so frontend can use it * `manual_forced` to `manual_only` --- .github/PULL_REQUEST_TEMPLATE.md | 7 ++++++- supervisor/addons/addon.py | 5 ++++- supervisor/addons/model.py | 10 ++++++++-- supervisor/addons/validate.py | 5 ++++- supervisor/api/addons.py | 8 +++++++- supervisor/api/const.py | 1 + supervisor/const.py | 15 ++++++++++++++ tests/addons/test_addon.py | 12 +++++++++++ tests/api/test_addons.py | 20 +++++++++++++++++++ .../fixtures/addons/local/example/config.yaml | 1 + 10 files changed, 78 insertions(+), 6 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 0a3480a4c84..27f17d8ddaa 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -38,6 +38,7 @@ - This PR is related to issue: - Link to documentation pull request: - Link to cli pull request: +- Link to client library pull request: ## Checklist @@ -55,9 +56,11 @@ - [ ] The code has been formatted using Ruff (`ruff format supervisor tests`) - [ ] Tests have been added to verify that the new code works. -If API endpoints of add-on configuration are added/changed: +If API endpoints or add-on configuration are added/changed: - [ ] Documentation added/updated for [developers.home-assistant.io][docs-repository] +- [ ] [CLI][cli-repository] updated (if necessary) +- [ ] [Client library][client-library-repository] updated (if necessary)