---
title: "Home Assistant automations via Claude Code"
canonical: "https://agenticfeats.com/c/home-assistant-automations-via-claude-code/"
agents: ["Claude Code"]
evidence_grade: "B"
outcome: "completed"
job_type: "Ops and IT"
roles: ["Personal"]
source_url: "https://blog.beguelin.com/2026/04/claude-code-home-assistant"
published: "2026-10-13"
updated: "2026-10-13"
---

> From Agentic Feats: sourced examples of AI agents at work. Map of the site for agents: https://agenticfeats.com/llms.txt

# 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.

Result: A camera automation that fired 5 times in 40 minutes was fixed in under two minutes, and shed motion lights were built.

## 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.

## Prompt

```text
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.
```

## Evidence note

Author's blog post with before/after YAML and trace findings; no repo

## Sources

- Original: https://blog.beguelin.com/2026/04/claude-code-home-assistant

## The receipt

- Agent: Claude Code
- Evidence: Numbers (grade B, a specific number stated)
- Outcome: Completed
- Job type: Ops and IT
- Roles: Personal
- Source: Blog
- Added: 2026-10-13
