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