svitrix

Add Ha Entity — Development skill for Claude Code

Development community

Step-by-step guide to add a new Home Assistant entity with MQTT auto-discovery.

How to install Add Ha Entity

Installs to ~/.claude/commands/svitrix-svitrix-firmware-add-ha-entity.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/svitrix/svitrix-firmware/HEAD/.claude/commands/add-ha-entity.md -o ~/.claude/commands/svitrix-svitrix-firmware-add-ha-entity.md

Restart Claude Code, or start a new session, for it to be picked up.

What Add Ha Entity does


description: Step-by-step guide to add a new Home Assistant entity with MQTT auto-discovery

Guide through adding a new Home Assistant entity to the Svitrix firmware. Currently there are 25 HA entities.

Before starting

  1. **Read current HA integration docs:**

    • src/MQTTManager/CLAUDE.md — current entities, topics, callbacks
    • lib/home-assistant-integration/CLAUDE.md — enabled entity types
    • lib/services/CLAUDE.md — HADiscovery service API
  2. **Ask the user:**

    • En

Alternatives in Development

  • Package OfficeCLI Skill As AionUi Assistant — Convert an OfficeCLI skill into a fully wired AionUi assistant preset, or update an existing one 20.3k ★
  • Check 1: Cache Exists? — CLAUDE_DIR="${CLAUDE_CONFIG_DIR:-$HOME/.claude}" CACHE_EXISTS=$(ls -d "$CLAUDE_DIR/plugins/cache/claude-hud" 2 10.9k ★
  • Portaljs Add Geo — Auto-ingest a geospatial file (GeoJSON, Shapefile, GeoPackage, KML/KMZ, FlatGeobuf, CSV-with-geometry) into a 2.3k ★

Full documentation available on GitHub

View Source Repository