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

Understanding AI Agent Autonomy in Real-World Applications
Anthropic's recent research analyzes millions of human-agent interactions to measure the autonomy of AI agents like Claude Code in various domains.

Automate Jellyfin Media Downloads with OpenClaw: Fix Failures in Sonarr/Radarr Chain
A Reddit user adds OpenClaw to their Jellyseerr→Sonarr/Radarr→Prowlarr→qBittorrent chain to automatically troubleshoot and fix broken downloads, indexer issues, and metadata mismatches.

How Fragile Test Scripts Caused Release Delays and What One Team Did About It
A team of about 15 engineers discovered their Appium test suite was consuming 50-60% of their QA engineer's time just for maintenance after a UI refresh broke locators, causing two releases to slip. They're now rebuilding tests using a tool that reads screens like a human and adapts to UI changes.

Lessons from running multiple OpenClaw gateways in production
A developer shares concrete failures from running 3+ OpenClaw gateways 24/7, including upgrade path issues causing MODULE_NOT_FOUND errors and silent capability loss from misconfigured credentials. The post details a solution involving capability audits, config validation gates, and reproducible environments.