Hand a Home Assistant setup and home network to an agent to fix and automate

A Redditor connected Google's Antigravity agent to Home Assistant, a Unifi network and an Anker home battery over a weekend; it repaired broken setup, moved Nest thermostats into HA and wrote new automations.

Done withGeminiinHome AssistantGmail· Nov 23, 2026

What they did

The poster, u/Otis_bighands, had Gemini talk them through connecting Google's Antigravity agent to their Home Assistant over MCP, then let it work on the whole setup. It repaired broken pieces and tidied the configuration, replaced the Hubspace app, and pulled the Nest thermostats into Home Assistant over Matter so Google Home could go, with new heating and cooling schedules. It reworked a morning routine that announces bus times for each child on the Alexa speakers, looking up each school calendar in Gmail and on the web so the announcement is skipped on days off. It added a doorbell automation that sends a Reolink snapshot with a short AI description to their phones, and one that turns all outside lights on full if a camera sees a person between midnight and 5am. It was also pointed at the Unifi network and an Anker Solix whole home battery.

How it went

The poster says requests in plain English were carried out almost at once. On the Unifi network the agent changed Wi-Fi channel assignments and other settings, and the poster says the network now runs better than before. For the Anker battery it proposed changes to the time of use schedule. It now emails a weekly report on all these systems with status, fixes made and suggestions. The post gives no hard numbers on time spent or cost.

Worth knowing

The harness was Antigravity, with Gemini named as the model; the poster does not say which Home Assistant MCP server they used, and commenters point to both the official integration and a HACS one. Other commenters doing the same with Claude say the agent still writes occasional errors in automations, so they read the generated code before keeping it.

Try it

With Gemini· 3 parts to fill in

You are connected to my Home Assistant through [the Home Assistant MCP server I use]. First list every integration, entity and automation that is broken, unavailable or duplicated, and propose a fix for each. Then build these automations: [plain English description of each automation, e.g. skip a child's morning announcement on school holidays using [school calendar source]]. Before you change or delete anything existing, show me the list of changes and wait for my approval. After the changes, test each automation once, report what ran, and stop. Do not touch [devices or integrations to leave alone].

Square brackets are the parts to fill in. The prompt is ours; the story is theirs.

Where they said it

Related