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