Ha Upgrade logo

Ha Upgrade

Community
ESJavadex
ha-upgrade

Modernise a Home Assistant config to current syntax — legacy template entities, removed light color_temp/kelvin, renamed purpose-specific triggers, service→action, platform→trigger, plural keys, call-service→perform-action, layout_options→grid_options, lovelace mode yaml. Use when the user asks to upgrade, migrate, modernise or clean up old YAML, or after a release removed something they use.

Overview

PublisherESJavadex
Repositoryclaude-homeassistant-plugins
Skill nameha-upgrade
Stars
28
Forks
1
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by ESJavadex on GitHub. Read the source before you install it.

Installation

Install the Ha Upgrade AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/ESJavadex/claude-homeassistant-plugins/tree/main/homeassistant-config/skills/ha-upgrade
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ESJavadex/claude-homeassistant-plugins.git /tmp/claude-homeassistant-plugins
mkdir -p .claude/skills
cp -r /tmp/claude-homeassistant-plugins/homeassistant-config/skills/ha-upgrade .claude/skills/ha-upgrade
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Ha Upgrade in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Ha Upgrade on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Ha Upgrade is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Upgrade Home Assistant YAML to current syntax

Target: $ARGUMENTS, or /config.

  1. Inventory. Run python3 "${CLAUDE_PLUGIN_ROOT}/skills/homeassistant-config/scripts/validate_yaml.py" <target> --quiet and, for dashboards, lovelace_validator.py. Get the HA version (cat /config/.HA_VERSION, ha core info) so you never write syntax newer than the install. Before an update: ha core info shows version_latest; re-run the validator with --ha-version=<that release> to list what the update will break, and fix that first.
  2. Plan. Show the user a short table: file, how many findings per level, what you would change. Order by risk:
    • errors first (things that already do not work: legacy platform: template, color_temp/kelvin, removed trigger IDs, mixed old/new keys);
    • then warnings (deprecated, ignored, about to break);
    • info last (service: → action:, platform: → trigger:, plural keys): purely cosmetic, only if the user wants it. Imported blueprints (the validator counts them under imported_blueprints, they have a source_url) are left alone: they are updated by re-importing a newer version (Settings > Blueprints > Re-import), and an edit would be lost on the next re-import. Mention them, don't edit them, unless the user asks. The user's own blueprints are upgraded like any other file. Ask which levels to apply. Stop here until they answer.
  3. Back up every file you will edit, without leaving copies where they get picked up:
    • If the config folder is a git repository (git -C /config rev-parse --is-inside-work-tree), git is the backup: check git -C /config status --short. If the files you will touch have uncommitted changes, ask the user to commit them first. Make no .bak files there: a nightly git add . would commit them.
    • Otherwise copy them to one folder outside the files Home Assistant reads: mkdir -p /config/.claude-backups/$(date +%Y%m%d-%H%M) and cp each file there, keeping its relative path.
  4. Migrate with the Edit tool: targeted edits, keeping comments, order and formatting. Never rewrite a file through a script (yaml.safe_load + yaml.dump, sed over the whole file): that drops comments and !include / !secret tags, and a script that fails halfway leaves the file empty. Read references/templates.md (legacy → modern template table) and references/patterns.md (renamed triggers) from the homeassistant-config skill first. Rules:
    • Legacy template entity: move it to template:, keep the entity ID with default_entity_id: sensor.<old_object_id> and add a unique_id.
    • color_temp (mireds) → color_temp_kelvin = round(1000000 / mireds).
    • Never mix old and new keys in one block; convert the whole block.
    • UI-managed automations.yaml / scripts.yaml: editing is fine, keep ids.
    • Do not touch .storage/ files while HA is running; for UI dashboards, tell the user what to change in the editor instead, or edit the JSON only if they stop Home Assistant first. Name the dashboard and copy the finding's where (view title and tab, section heading, card number and type), not just views[1].sections[1].cards[0]: the JSON has no line numbers and the editor shows titles, not indexes.
  5. Verify. Re-run the validator (the error and warning counts must drop to zero for the levels you applied), then ha core check if available, then reload (automation.reload, script.reload, template.reload) or ask the user to restart when templates moved between domains.
  6. Report what changed per file, where the backups are (or the git commit to go back to), and which imported blueprints were left alone.

Frequently asked questions

What does the Ha Upgrade AI skill do?

Modernise a Home Assistant config to current syntax — legacy template entities, removed light color_temp/kelvin, renamed purpose-specific triggers, service→action, platform→trigger, plural keys, call-service→perform-action, layout_options→grid_options, lovelace mode yaml. Use when the user asks to upgrade, migrate, modernise or clean up old YAML, or after a release removed something they use.

Why use Ha Upgrade on TypingMind?

Because you install it once and use it with any model. Ha Upgrade is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Ha Upgrade in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/ESJavadex/claude-homeassistant-plugins/tree/main/homeassistant-config/skills/ha-upgrade. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Ha Upgrade?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Ha Upgrade?

As many as you like. As long as a model supports skills, you can use Ha Upgrade with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Ha Upgrade AI skill free?

Yes. It is published on GitHub by ESJavadex under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇