Using Claude Code with ha-mcp for Home Assistant automation

Claude Code can be integrated with Home Assistant using the ha-mcp tool, allowing AI-assisted configuration and automation of smart home systems. According to a developer's experience shared on Reddit, this combination enables rapid development of Home Assistant components through natural language prompts.
Setup and configuration details
The developer describes a specific setup: Claude Code running on a Windows desktop connected to a Home Assistant installation via ha-mcp. They mention using network share access to the Home Assistant OS (HAOS) directory and Claude for Chrome as part of their workflow. The developer upgraded to Claude Max 5x from Pro because they found Pro too limiting for this type of project work.
Practical applications demonstrated
The source describes several concrete use cases:
- Big design changes to Home Assistant configuration
- Creation of new dashboards through detailed prompts
- Setup of a solar charging system from scratch after providing requirements
The developer reports significant time savings: tasks that previously took at least a week were completed in 12-14 hours using this approach. They contrast this with previous methods that required more coding knowledge and resulted in "wonky" dashboards that "kind of worked."
The key workflow described involves giving detailed prompts about preferences to Claude Code, which then handles the configuration work. The developer specifically mentions that with Claude Code, configuration becomes "as easy as giving a detailed prompt about preferences."
📖 Read the full source: r/ClaudeAI
👀 See Also

Claude AI coding assistant requires precise task breakdowns to avoid wasted time
A developer spent 4.5 hours with Claude Code trying to fix a page, only to solve it in 10 minutes by rewriting from scratch with a different library. The issue stemmed from unclear instructions that didn't specify exploring alternative tools.

Automating Recruiting Workflows with Claude Desktop: A Case Study
A developer automated the first layer of recruiting using Claude Desktop, Chrome with browser extension, and Google Calendar integration, handling resume screening and interview scheduling every two hours on a Windows workstation.

Hacking Multi-Agent Orchestration into OpenClaw: A Developer's Experience
A developer modified OpenClaw's core runtime to implement true multi-agent orchestration after discovering that agents were faking collaboration. The changes included parent-child agent spawning via sessions_spawn/sessions_yield and parallel execution on separate threads.

Hybrid Local+API Approach Cuts AI Costs by 79% in Month-Long Test
A developer running a 24/7 AI assistant on a Hetzner VPS reduced monthly costs from $288 to $60 by strategically combining local models with API calls. The setup uses nomic-embed-text for embeddings and Qwen2.5 7B for background tasks, routing more complex work to Claude models.