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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,15 @@
2
2
3
3
All notable changes to this project will be documented in this file.
4
4
5
+
## [2.10.39] - 2026-02-18
6
+
7
+
### 🔧 Allow YAML files with Home Assistant custom tags in `ha_write_file` (reported by @ghzgod)
8
+
9
+
-**Issue**: The file write endpoint rejected valid YAML that uses HA custom tags such as `!include`, `!include_dir_merge_named`, etc., with an error like: *"Invalid YAML in configuration.yaml: could not determine a constructor for the tag '!include'"*. Users had to fall back to SSH to edit `configuration.yaml` and other files that rely on these directives.
10
+
-**Cause**: Validation used `yaml.safe_load()`, which only supports standard YAML types and does not handle custom tags. Home Assistant uses `!include` and related tags throughout configs, so such files were incorrectly treated as invalid.
11
+
-**Fix**: Introduced a custom SafeLoader that treats unknown `!…` tags as opaque placeholders during validation. The document is only checked for parseability; includes are not resolved. File content is written as-is. Both `write` and `append` now accept YAML containing `!include`, `!include_dir_merge_named`, and other HA tags.
12
+
-**Thanks**: Bug reported by [@ghzgod](https://github.com/ghzgod). Thank you for the clear description and steps to reproduce.
Copy file name to clipboardExpand all lines: config.yaml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Home Assistant Add-on Configuration
2
2
name: HA Vibecode Agent
3
-
version: "2.10.38"
3
+
version: "2.10.39"
4
4
slug: home_assistant_cursor_agent
5
5
description: "Enable Cursor, VS Code, Claude Code, or any MCP-enabled IDE to help you vibe-code and manage Home Assistant: create and debug automations, design dashboards, tweak themes, modify configs, and deploy changes using natural language"
0 commit comments