Add Ha Entity banner
svitrix svitrix

Add Ha Entity

Development community

Description

--- 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

Installation

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.

Full documentation available on GitHub

View Source Repository