homeassistant-config
Create and manage Home Assistant YAML configuration files including automations, scripts, templates, blueprints, Lovelace dashboards, and file organization. Use when working with Home Assistant configuration files (.yaml, .yml) or discussing HA automations, scripts, sensors, or dashboards.
Оригинален текст · няма потвърден превод на българскиПърво прочетете инструкцията.
Файлът се зарежда от посочения източник само по ваше действие. Можете да го прочетете тук, да го копирате или да го запазите като .md.
GitHub хранилище- Звезди на репото
- 428
- Лиценз
- Не е посочен. Проверете в репозитория.
- Последна проверка на записа
- Няма посочена дата
Добавете в своя инструмент.
Командата отваря избора на skills от репозитория. Прочетете файла и условията на автора преди изпълнение.
npx skills add aiskillstore/marketplaceСтраницата копира текст. Не инсталира и не изпълнява нищо на устройството ви.
Откъс от SKILL.md
Началото на файла на автора, без превод.
Home Assistant Configuration Skill
Create and manage Home Assistant YAML configuration files including automations, scripts, templates, blueprints, and file organization.
Slash Commands
| Command | Description |
|---|---|
/ha-find-duplicates [path] | Find duplicate automations and scripts in configuration |
/ha-find-duplicates
Scans Home Assistant configuration files to find:
- Exact duplicates: Automations/scripts with identical triggers and actions
- Similar items: Items with 80%+ similarity (name, entities, structure)
- Trigger conflicts: Multiple automations responding to the same trigger
Usage: /ha-find-duplicates /path/to/config or /ha-find-duplicates for current directory.
Subagents
| Agent | Description |
|---|---|
ha-suggestions | Smart home improvement advisor for automations, scenes, and device recommendations |
ha-suggestions
A proactive smart home consultant that analyzes your Home Assistant configuration and provides personalized suggestions for:
- New Automations: Motion lighting, presence detection, time-based routines, energy saving
- New Scenes: Movie night, morning energy, dinner time, work from home, party mode
- Script Improvements: Reusable sequences and parameterized routines
- Device Recommendations: Sensors, switches, and integrations to enhance your setup
- Optimization: Consolidation, trigger efficiency, mode usage, blueprint conversion
The agent automatically discovers your configuration files, inventories entities by domain (lights, sensors, climate, etc.), and generates prioritized suggestions with complete, ready-to-use YAML code.
Validation Scripts
This skill includes scripts to validate and analyze Home Assistant configurations.
YAML Validator
Validates YAML syntax and checks for common HA issues (tabs, unquoted booleans, deprecated syntax):
python3 {baseDir}/scripts/validate_yaml.py /path/to/config.yaml
python3 {baseDir}/scripts/validate_yaml.py /path/to/config.yaml --strict
Configuration Checker
Analyzes HA configuration structure, finds entities, tracks includes and secrets:
python3 {baseDir}/scripts/check_config.py /path/to/config/directory
python3 {baseDir}/scripts/check_config.py /path/to/config.yaml --verbose