Axisdream
Written and Published byAxisdream·

An Agent With the Keys to the House

A home automation system with an agent editing its configuration

Key Takeaways

  • •A smart-home agent that can edit automations and change device configuration is administering a system, and the devices include locks and alarms.
  • •Examines two kinds of access, analyzing the structural bottlenecks and trade-offs in real-world deployments.
  • •Provides engineering benchmarks and verification criteria for what a smart home actually is.

The Home Assistant MCP project appeared among visible AI repositories in early November 2026, and its documentation includes a comparison against Home Assistant's own built-in MCP integration.

That comparison is the interesting document, because the difference between the two is not a feature list. It is a difference in what the agent is permitted to do, and the permissions span from reading a temperature sensor to editing the configuration that runs the house.

Two kinds of access

The built-in integration exposes a limited set of entities and predefined intents. The agent can read a sensor and call a service that already exists. It is a remote control with a natural-language front end.

A broader integration exposes device state, automation traces, scripts, scenes, dashboards, logs, helpers, backups and configuration operations. The agent can inspect why an automation failed and change it.

The second is not an increment on the first. It converts a voice interface into an administrator, and administrators can break things in ways remote controls cannot.

What a smart home actually is

Home Assistant models the home as entities. A light is an entity with state and attributes, a sensor is an entity with a value and a unit, a person is an entity with a location. Entities are grouped into areas and devices, and integrations connect each entity to the protocol its hardware speaks.

Automations are rules. A trigger fires, conditions are checked, actions run. Scenes are stored states. Scripts are sequences. Helpers are variables, counters and timers that let the system hold state between events.

The configuration is YAML. That is the artefact a broad agent can edit, and editing it is not a small step, because a malformed automation can disable a heating schedule or unlock a door.

The difference between controlling and maintaining

Controlling a device is a bounded transaction. Turn the porch light on. Set the thermostat to nineteen degrees. The action has a visible result and an obvious reversal.

Maintaining the system is a different kind of work. An automation fires twice because two triggers overlap. A sensor reports stale data because the integration lost its connection. A scene no longer matches the physical room because someone moved a lamp.

Diagnosis is where an agent earns its place. Reading automation traces, correlating them with sensor history and identifying the condition that failed is tedious work that a model does well, and it produces a recommendation rather than a change.

Applying the fix is where the risk sits. A single-line change to a YAML condition that is almost right can silence an automation for weeks, and the failure is silent because nobody notices a light that did not turn on.

The specific dangers

Locks, alarms, heating and electrical equipment are the categories where an error is not merely inconvenient.

A lock that an agent unlocks on a misread instruction is a physical security incident. An alarm that an agent disarms to run a routine is a gap in coverage that persists until someone notices. A heating configuration changed in summer that fails in winter is a failure whose cause is months in the past.

Cameras raise a different issue. An agent with access to camera streams and the ability to change their configuration can disable recording, and the absence of footage is not something anyone checks until they need it.

The pattern across all four is that the damage is in the system's future behaviour rather than in the immediate action. That makes it harder to detect and harder to attribute than a wrong answer to a question.

What approval gating has to solve

An approval prompt that the model writes is not a control. The model can be persuaded to omit it, and the user's approval is a token in a stream an attacker may already influence.

A real gate classifies the action before execution, holds the ones above a threshold, and presents the request through a channel the model cannot write to.

The classification is the design problem. Gating everything makes the agent useless. Gating nothing makes it dangerous. The workable rule is to gate by reversibility: reading state, running diagnostics and drafting a change are safe, while unlocking a door, disarming an alarm, disabling recording and editing YAML are not.

A second rule helps with configuration edits. Stage the change in a draft, show the diff, and require a separate confirmation to apply. That turns an irreversible edit into a reviewable one, and it gives a person a chance to notice that the agent has edited the wrong automation.

Rollback and state

Any system an agent can modify needs a way back.

Snapshots and backups exist for this reason, and an agent that can edit configuration should not be able to delete the backups in the same action. Separating those permissions is the difference between a recoverable mistake and a lost system.

Version history matters for the same reason. A change that is recorded as a diff with a timestamp can be reviewed later and reverted. A change applied directly with no history leaves the operator reconstructing what happened from behaviour.

Remote access is the perimeter

Home automation is often reachable from outside the network, because the point of a smart home is control when you are not in it.

That exposure turns the agent integration into an internet-facing service with authority over physical devices. The standard controls apply: no unauthenticated access, no default credentials, a reverse proxy with TLS, and network segmentation so that a compromised device cannot reach the configuration interface.

The agent adds a new consideration. Its tool calls are a new API surface, and an API that can change configuration is one that needs authentication and rate limiting independent of who is talking to the assistant.

A workable arrangement

Three permissions, separated by the risk of the action.

The agent reads everything. State, history, traces and logs are safe and the diagnostic value is high.

The agent proposes changes. It writes a diff, explains the reasoning and waits.

A person applies. The application happens through a mechanism the agent does not control, and the backup exists before it runs.

That is slower than letting the agent act, and it is the arrangement that survives the first time the agent is confidently wrong about which automation it was editing.

Related Dispatches