/home-audio:home-assistantfrom home-audio
Integrate home audio with Home Assistant: MA/Snapcast/Squeezebox integrations, media_player calls, TTS, automations via HA API.
Ships in home-audio. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Overlay DIR via bash ${CLAUDE_PLUGIN_ROOT}/scripts/overlay-paths.sh dir; read
profile.env (HOME_AUDIO_HA_URL, HOME_AUDIO_HA_TOKEN_VAR), installation.json
(home_assistant block: entity IDs per endpoint) and home-assistant.md.
HA="python3 ${CLAUDE_PLUGIN_ROOT}/scripts/audioctl.py ha": $HA GET|POST <path> [json]
with a long-lived access token (HA profile > Security).
| Backend | HA integration | Notes |
|---|---|---|
| Music Assistant (2.4+) | music_assistant | Players appear as media_player.*; adds actions music_assistant.play_media, search, get_library, get_queue, transfer_queue, play_announcement |
| Lyrion / LMS | squeezebox | Do not also add it for MA's Squeezelite provider players; use music_assistant |
| snapserver | snapcast | Groups and clients as media players; volume, mute, snapcast.join/unjoin |
Avoid double control: a Squeezelite player under MA should be driven through the
music_assistant integration, not also squeezebox/slimproto.
$HA GET /api/config (version), then integrations via
$HA GET /api/config/config_entries/entry and filter domain in
(music_assistant, snapcast, squeezebox). Map entities: $HA GET /api/states
filtered to media_player..$HA POST /api/config/config_entries/flow '{"handler":"music_assistant"}', then answer
the returned step (POST /api/config/config_entries/flow/<flow_id> with the URL, e.g.
{"url":"http://<ma>:8095"}). MA as an HA add-on is usually auto-discovered: confirm
the discovered flow instead.$HA POST /api/services/music_assistant/play_media '{"entity_id":"media_player.<x>","media_id":"<name or uri>","media_type":"playlist","enqueue":"replace"}'/api/services/media_player/volume_set {"entity_id","volume_level":0.0-1.0}/api/services/media_player/join {"entity_id","group_members":[...]}/api/services/music_assistant/play_announcement {"entity_id","message","tts_entity_id"} or {"entity_id","url"}, or
tts.speak with media_player_entity_id.
Add ?return_response for actions that return data (search, get_queue).${CLAUDE_PLUGIN_ROOT}/reference/home-assistant.md has patterns: resume after
announcement, room follow, night volume cap), show it, then create via
$HA POST /api/config/automation/config/<id> and reload with
/api/services/automation/reload.installation.json home_assistant.entities.Config entries and automations change HA: show the payload before posting. Entity IDs change when an integration is re-added; re-map after.
Updates home_assistant in installation.json in the overlay.
What SKILL.md sets; muted values are Claude Code's defaults
17 skills in this plugin
/announceSpeak a message or play a sound on one speaker, several or a group, through Music Assistant TTS or Home Assistant. Use on "announce dinner is ready", "say X in the kitchen", "tell everyone"./complementary-pluginsList and install plugins that complement home-audio: pipewire-audio. Use on "what goes with this plugin", "related plugins"./connect-serverPoint speaker clients at an audio server and wire the server into Music Assistant/HA. Use on "connect to the server", migrating backends.Other plugins' skills for the same job
home-audio@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin home-audio