Repository navigation
homeassistant-config 2.1.0
From the first round of feedback on real installs (thanks @nsleigh and
@satscan1 in ESJavadex/claude-code-ha#75).
The hook
- No more silent skip without PyYAML. When
python3is a venv without
PyYAML (the add-on's persistent packages make one), the hook and the scripts
re-run themselves with the system Python. If no Python has PyYAML, the hook
says the check was skipped instead of passing in silence. - Only a broken file blocks: YAML syntax errors, tabs, duplicate keys.
Home Assistant rules (removed or deprecated syntax) come back as advice, so a
stale or wrong rule costs a sentence, never a forced edit. - The advice ends with "if
ha core checkor Repairs disagree, they are right".
Version-aware rules
- Rules are compared with the installed release (
.HA_VERSIONin the config
folder, orHA_VERSION). A rule from a newer release is reported as
upcoming ("fine now, changes when you update"), not as an error. --ha-version=Xpreviews another release:/ha-upgradeuses it with
version_latestto list what an update will break before you install it.- When Home Assistant is newer than the rules (2026.11), the checkers say so.
Fewer false positives
- Files that
configuration.yamlnever loads (archive or draft folders, card
snippets, add-on repos) are skipped and counted undernot_loaded;
--include-unloadedchecks them too. Applies tovalidate_yaml.py,
check_config.pyandfind_duplicates.py. !secretis resolved like Home Assistant does (next to the file, then each
parent folder), so ESPHome files useesphome/secrets.yaml.!includeand!secretare read from the parsed YAML: commented-out lines
no longer count.- Duplicate automation IDs name the full relative path (two
automations.yaml
in different folders were indistinguishable). - Entity registry IDs (32 hex characters, written by the UI editor in device
triggers and actions) are valid entity references. - Custom cards (
custom:*) keep their own options:features:and
entity: ''are no longer checked as built-in card syntax. Cards nested
inside them still are. .storage/lovelace_dashboardsandlovelace_resourcesare skipped (they
list dashboards, they are not dashboards).- Blueprint inputs without a
defaultin a collapsed section: info, not error. validate_yaml.pyon a folder never openssecrets.yaml(a syntax error
message would quote the line, value included).
Guidance
- If a Home Assistant MCP server is connected (the MCP Server integration or
ha-mcp), the skill and theha-suggestionsagent use it for entity IDs,
states and Repairs instead ofcurl.