Build Home Assistant automations with Claude
A time-strapped parent had Claude build Home Assistant automations, including a helper that infers whether the stove is on from power usage.
Done withClaude
- What they did
- The poster, a busy parent who had let Home Assistant sit mostly dormant, connected Claude to their HA instance using MCP and used it to build and improve automations instead of hand-writing YAML. In the thread, they and others describe Claude reviewing devices and automations, generating logic like occupancy and state checks, and in one example building a helper that infers whether the stove is on from range power usage, then adding warnings and exhaust-fan automation; people still review plans, code, and backups themselves.
- How it went
- They say tasks that used to take days now take minutes, and one commenter said an automation that normally would have taken days worked on the first shot in 10 minutes. The main limitation raised is that Claude can overcomplicate things or act on more HA data than some users are comfortable exposing.
- Worth knowing
- A repeated catch is to keep backups Claude cannot access, review its plan or YAML before applying changes, and be aware MCP setups may consume a lot of tokens.
Try it yourself with Claude
I use Home Assistant and want an automation that [what I want to happen, e.g. alert me if the stove has likely been left on]. My relevant devices and entities are [list entities, e.g. smart plug power sensor sensor.stove_power]. Write the full YAML, including any helpers or template sensors needed to infer the state, and explain step by step where to paste it and how to test it safely.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: Reddit · Sep 26, 2026
Related use cases
Build a C compiler with a team of parallel agents
Anthropic's engineering write-up on tasking Opus 4.6 agent teams with building a C compiler.
Analyze budgets and research investments from bank data
The poster pipes bank transaction data into ChatGPT and uses Claude for budget analysis, investment research, and summarizing and comparing financial reports.
Claim refunds for delayed or cancelled flights with Claude
Claude gathers the facts, researches the rules and drafts the refund request email after a delayed or cancelled flight.
Get a second opinion on an MRI
One person's account of using Claude Code to analyze their own MRI.
Answer questions from uploaded documents and school emails
In an Amazon demo, Alexa+ answers questions from an uploaded recipe or HOA document and summarizes forwarded school emails into the calendar.
Extract school dates from forwarded emails and flyers
A family task manager pulls dates from forwarded school emails, reads flyer photos and syncs school calendars by zip code.
Custom agent
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.