Claude via HEMCP analyzes YAML and creates Home Assistant automation

Connected Claude to the HEMCP server to analyze a Dyson inverter YAML package, flag 14 notes, then create a test automation with manual…

Used for
Everyday life
Skill needed
Low code
Shown in video
Partial demo
Summary based on
Transcript
ClaudeHEMCP
Alex Kvazis - технологии умного домаWatch on YouTube

Home Assistant + Claude AI: YAML Analysis, Error Detection, and Automation Creation

Published Nov 21, 202629:2122,365 views514 likes

Key moments

  • 16:18Analyzing the Dyson inverter YAML package
  • 22:03Showing the automation configuration before approval
  • 24:22The automation success notification appears

What they made

Claude created a new automation via MCP after manual approval, fired the event, and the HEMCP test notification appeared in the notifications panel.

24:22

How they did it

  1. Human2:11

    Install the HEMCP integration and create a dedicated H_MCP user with administrator permissions and local-only access.

    Stated in video · HEMCP
  2. AI + human7:20

    Connect Claude to the HEMCP server via Home Assistant Cloud and authorize OAuth.

    Stated in video · Claude
  3. AI10:00

    Retrieve system statistics: 109 integrations, 144 devices, 2590 entities, 261 automations.

    Stated in video · Claude
  4. AI16:18

    Analyze the includes/backup_power/die.yaml file and identify 14 logic notes with fix suggestions.

    Stated in video · Claude
  5. AI + human22:03

    Create a test automation via the set_automation tool with manual approval in Home Assistant.

    Stated in video · Claude
  6. AI24:07

    Fire the test event and verify the HEMCP test notification appears.

    Stated in video · Claude

What you can reuse

  • Starting in read-only mode and enabling approval for every write operation reduces the risk of AI modifying the system
  • Analyzing YAML directly via file tools is more accurate than pasting code manually into the chat
  • Every AI suggestion should be verified against the actual system logic

Trade-offs

  • Not all 14 notes were confirmed and may not actually occur
  • Write access to a folder may affect its subfiles
  • Result quality depends on prompt accuracy and the assistant's understanding of system logic

AI-generated case summaries can contain mistakes. Report an error

More cases like this: Run Home Assistant with AI

Related cases

Automate a smart home

Revive a 2019 Android TV with Claude Code

A creator used Claude Code over Wi-Fi to de-bloat his old Android TV and build a custom ad-free home screen, approving each risky step…

Claude Code111.2K views