Build a Home Assistant expert agent from your config
A user made a Gem/agent loaded with their entities and configuration YAML to help generate working smart home code. ·
Done withGemini
- What they did
- One commenter built a Gemini Gem as a Home Assistant expert by uploading their entities list, configuration YAML, and setup details into the agent’s knowledge base. They used it to generate ESPHome and Home Assistant code, then pasted compiler errors back into chat so the agent could revise the code until it worked; for small setups they just copy-pasted entities, and suggested larger lists could be uploaded as a document.
- How it went
- They said it got the code working and let them finish in about a day, much faster than doing it alone. They also noted there were compile hiccups, old repositories, and missed details that needed follow-up prompts or error-driven fixes.
- Worth knowing
- The main catch was context: the agent worked better after loading entities, config YAML, setup details, and even saved prompt wording for reuse.
Try it yourself with Gemini
Act as a Home Assistant expert using the entities and configuration YAML I'm pasting here: [paste entity list and relevant YAML]. I want an automation that does [describe goal, e.g. turn on hall lights at sunset when someone is home]. Write working YAML using only my real entity names, explain where each piece goes, and flag anything you're unsure about so I can check it before saving.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: Reddit · Jan 1, 2026
Related use cases
Orchestrate a multi-phase RAG migration
A walkthrough of using Gemini CLI to coordinate a complex, multi-phase cloud migration project.
Orchestrate a Spot robot through multi-step tasks
Gemini Robotics ER 2 drives a Boston Dynamics Spot, watching video to confirm tasks like tying a trash bag are done before moving on.
Generate long-form text content with Manus and Gemini Deep Research
A self-taught creator used Manus together with Gemini 2.5 Pro Deep Research for long-form text content generation work.
Get a second opinion on an MRI
One person's account of using Claude Code to analyze their own MRI.
Add travel bookings from email to calendar
The author runs Claude Code from a fixed folder with saved scripts to process new travel booking emails into their calendar.
Plan birthday and virtual office parties
The poster uses ChatGPT to help plan birthday parties and virtual office parties.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.