Skip to content

Commit 1831455

Browse files
kingpanther13claude
andcommitted
fix: use str?/int? schema types for Supervisor compatibility
The [str]? and int(2,10)? schema types cause HA Supervisor to silently remove the add-on from the store. Use str? (comma-separated) and int? instead. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 329d1f9 commit 1831455

2 files changed

Lines changed: 10 additions & 12 deletions

File tree

homeassistant-addon-dev/config.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,17 @@ options:
2020
enable_skills: true
2121
enable_skills_as_tools: false
2222
enable_tool_search: false
23-
disabled_tools:
24-
- "ha_config_set_yaml"
25-
pinned_tools: []
23+
disabled_tools: "ha_config_set_yaml"
24+
pinned_tools: ""
2625
tool_search_max_results: 5
2726
schema:
2827
backup_hint: list(strong|normal|weak|auto)
2928
secret_path: str?
3029
enable_skills: bool?
3130
enable_skills_as_tools: bool?
3231
enable_tool_search: bool?
33-
disabled_tools: "[str]?"
34-
pinned_tools: "[str]?"
35-
tool_search_max_results: "int(2,10)?"
32+
disabled_tools: str?
33+
pinned_tools: str?
34+
tool_search_max_results: int?
3635
ports:
3736
9583/tcp: 9583

homeassistant-addon/config.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,18 @@ options:
2626
enable_skills: true
2727
enable_skills_as_tools: false
2828
enable_tool_search: false
29-
disabled_tools:
30-
- "ha_config_set_yaml"
31-
pinned_tools: []
29+
disabled_tools: "ha_config_set_yaml"
30+
pinned_tools: ""
3231
tool_search_max_results: 5
3332
schema:
3433
backup_hint: list(strong|normal|weak|auto)
3534
secret_path: str?
3635
enable_skills: bool?
3736
enable_skills_as_tools: bool?
3837
enable_tool_search: bool?
39-
disabled_tools: "[str]?"
40-
pinned_tools: "[str]?"
41-
tool_search_max_results: "int(2,10)?"
38+
disabled_tools: str?
39+
pinned_tools: str?
40+
tool_search_max_results: int?
4241
# Add-on exposes HTTP port for MCP communication (fixed internal port)
4342
ports:
4443
9583/tcp: 9583

0 commit comments

Comments
 (0)