You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add --feature-flag option to supervisor options command
Allows users to enable/disable development feature flags via:
ha supervisor options --feature-flag supervisor_v2_api=true
ha supervisor options --feature-flag supervisor_v2_api (defaults to true)
ha supervisor options --feature-flag supervisor_v2_api=false
Multiple flags can be set by repeating the argument. Tab completion
calls /supervisor/info and suggests each flag with its opposite value
(e.g. supervisor_v2_api=true when currently false).
Related: home-assistant/supervisor#6719
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
supervisorOptionsCmd.Flags().BoolP("auto-update", "", true, "Enable/disable supervisor auto update")
102
+
supervisorOptionsCmd.Flags().StringArrayP("feature-flag", "", []string{}, "Set a development feature flag (name=true|false). Use multiple times for multiple flags.")
0 commit comments