Skip to content

Commit fd3bc5c

Browse files
committed
feat(config): expose enable_tool_security_policies as a feature flag (homeassistant-ai#966)
Wires the new addon-config toggle into FEATURE_FLAG_FIELDS so it appears in the Server Settings tab and rides PR homeassistant-ai#1420's _save_feature_flags + _supervisor_merge_and_post_options + _schedule_supervisor_self_restart flow when toggled in addon mode.
1 parent d4c19ec commit fd3bc5c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/ha_mcp/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,7 @@ def validate_settings() -> tuple[bool, str | None]:
337337
"HAMCP_ENABLE_CUSTOM_COMPONENT_INTEGRATION",
338338
bool,
339339
),
340+
("enable_tool_security_policies", "ENABLE_TOOL_SECURITY_POLICIES", bool),
340341
)
341342

342343
# Override-file location is the same data dir that holds tool_config.json

0 commit comments

Comments
 (0)