ha-validate
Installation
SKILL.md
Contains Shell Commands
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
/ha:validate
Validate Home Assistant configuration files for YAML syntax errors and common issues.
When to Use This Skill
| Use this skill when... | Use ha-configuration instead when... |
|---|---|
| Checking YAML syntax in configuration.yaml or automations.yaml | Editing configuration.yaml to add or change integrations |
Detecting undefined !secret references against secrets.yaml |
Adding new entries to secrets.yaml |
| Finding duplicate keys in scripts.yaml or scenes.yaml | Reorganizing configuration into packages |
Running hass --script check_config via Docker or HA OS |
Authoring template sensors and recorder/logger config |
Context
- Config path:
{{ path or '.' }} - YAML files: !
find {{ path or '.' }} -name "*.yaml" -type f