Home Assistant automations via Claude Code
Claude Code, connected to Home Assistant through an MCP server, debugged a misfiring automation, adjusted a dim level, and built a new shed motion-light automation.
A camera automation that fired 5 times in 40 minutes was fixed in under two minutes, and shed motion lights were built.
Overview
How it was set up
Claude Code with a Home Assistant MCP server, automations as YAML in a git repo deployed by scp, plus two project skills files for HA and OpenWrt conventions.
Worth knowing
Author reviews what Claude proposes and course-corrects. No repo or trace output is shown, only the author's account.
A prompt to start from
Why did the Home Assistant automation [automation name] just run? Check its recent traces, find the trigger cause, propose a fix with explicit from/to filters, deploy it, reload automations, and commit to git.Written by Agentic Feats from the source. Not the author's exact prompt.
Sources 1
History
- Added to Agentic Feats
- 2026-10-13
- Pick
- No
- Markdown copy
- /c/home-assistant-automations-via-claude-code.md
More in ops and IT
31 featsResultOn a 2019 TCL TV, idle CPU fell from 61% to 12% and free RAM rose from 451 MB to 720 MB.
ResultOn two Macs, checks found unpatched Bun and Claude Code builds and pip, uv and Java trusting bad certificates. Fixes were verified.
ResultPatched almost 10 devices in one session and says it saved a lot of time compared with logging in to each one.