How to create a Home Assistant automation with natural language
Wann einsetzen: You want to automate something in your home but don't want to write YAML manually.
Voraussetzungen
- 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
Ablauf
-
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.✓ Kopiert→ Automation YAML generated and validated
-
Deploy and testDeploy this automation and trigger a test run.✓ Kopiert→ Automation deployed with backup created and test results
Ergebnis: A working Home Assistant automation created from a plain English description.
Fallstricke
- Entity names don't match what you described — Ask the agent to list available entities first so you can reference the correct names