Skip to content
This repository was archived by the owner on Oct 16, 2026. It is now read-only.

Add feature_flags to supervisor info and options API docs - #3051

Merged
silamon merged 1 commit into
masterfrom
supervisor-feature-toggles
Apr 19, 2026
Merged

silamon merged 1 commit into
masterfrom
supervisor-feature-toggles

Conversation

@mdegat01

@mdegat01 mdegat01 commented Apr 14, 2026 •

Copy link
Copy Markdown
Member

Documents the new development feature toggle system introduced in home-assistant/supervisor#6719.

Changes

  • Add feature_flags to the /supervisor/info response table and example JSON
  • Add feature_flags to the /supervisor/options payload table, noting the partial-update semantics (omitted keys are left unchanged)

Summary by CodeRabbit

  • Documentation
    • Updated supervisor API documentation. The /supervisor/info endpoint now includes a documented feature_flags response field for retrieving development feature flag states. The /supervisor/options endpoint now supports documented feature_flags parameters for managing feature flag configurations.

Document the new feature_flags field in /supervisor/info (returns all known
development feature flags and their current state) and /supervisor/options
(allows partial updates to feature flags).

Related: home-assistant/supervisor#6719

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Apr 14, 2026

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: dfa5c18c-3aa9-4d90-bfc8-46d982acc68c

📥 Commits

Reviewing files that changed from the base of the PR and between a07ecbc and f446e28.

📒 Files selected for processing (1)
  • docs/api/supervisor/endpoints.md

📝 Walkthrough

Walkthrough

Documentation updates to the supervisor API endpoints, adding feature_flags field to the /supervisor/info response and feature_flags request parameter to the /supervisor/options endpoint, with example payloads updated accordingly.

Changes

Cohort / File(s) Summary
API Documentation
docs/api/supervisor/endpoints.md
Added feature_flags dictionary field to /supervisor/info response documentation and feature_flags dictionary parameter to /supervisor/options request documentation, with example payload updates.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description is missing the required template sections (Proposed change, Type of change, Checklist, Additional information) and does not follow the repository's documentation submission guidelines. Complete the full PR description template, select a Type of change, confirm the checklist items, and provide links to relevant code or PRs (home-assistant/supervisor#6719).
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change: adding feature_flags documentation to two supervisor API endpoints.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch supervisor-feature-toggles

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@silamon
silamon merged commit 63df78b into master Apr 19, 2026
3 checks passed
@silamon
silamon deleted the supervisor-feature-toggles branch April 19, 2026 06:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants