How to create a Home Assistant automation with natural language
When to use: You want to automate something in your home but don't want to write YAML manually.
Prerequisites
- Home Assistant with the add-on installed — Add repository https://github.com/coolver/home-assistant-vibecode-agent and install
- MCP client configured — Configure Claude Code or Cursor to connect to the add-on's MCP endpoint
Flow
-
Describe your automationCreate an automation: when I arrive home (phone GPS enters home zone), turn on the living room lights, set them to 70% brightness, and start playing my Spotify playlist on the kitchen speaker.✓ Copied→ Automation YAML generated and validated
-
Deploy and testDeploy this automation and trigger a test run.✓ Copied→ Automation deployed with backup created and test results
Outcome: A working Home Assistant automation created from a plain English description.
Pitfalls
- Entity names don't match what you described — Ask the agent to list available entities first so you can reference the correct names