How to create a Home Assistant automation with natural language
何時使用: You want to automate something in your home but don't want to write YAML manually.
前置條件
- 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
步驟
-
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.✓ 已複製→ Automation YAML generated and validated
-
Deploy and testDeploy this automation and trigger a test run.✓ 已複製→ Automation deployed with backup created and test results
結果: A working Home Assistant automation created from a plain English description.
注意事項
- Entity names don't match what you described — Ask the agent to list available entities first so you can reference the correct names