# Claude Code repairs Home Assistant presence triggers

Adam Beguelin used Claude Code to inspect Home Assistant traces, identify repeated home-to-home camera triggers and deploy transition filters through a versioned configuration workflow.

Agent: Claude (via Claude Code)
Tools: Claude Code, Home Assistant, MCP server, YAML, scp, Git
Category: Life admin & home
Date: 2026-04-02

Outcome: Beguelin reports a deployed filter correction after Claude traced five redundant camera-off runs to home-to-home state updates.

## Steps

1. Ask why the camera automation fired and retrieve its execution traces.
2. Identify home-to-home state updates as the repeated trigger.
3. Approve explicit arrival and departure filters in the YAML.
4. Deploy, reload, verify configuration state and commit the change.

Human oversight: Beguelin reports the symptom, approves the proposed fix and reviews changes; long-term absence of repeated triggers is not independently measured.

Source: [Adam Beguelin](https://blog.beguelin.com/2026/04/claude-code-home-assistant/)

Canonical URL: https://agentsinuse.com/use-cases/claude-code-to-repair-home-assistant-presence-triggers/
