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
Home Assistant + Claude AI: YAML Analysis, Error Detection, and Automation Creation
Published Nov 21, 202629:2122,365 views514 likes
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:22How they did it
- Human2:11
Install the HEMCP integration and create a dedicated H_MCP user with administrator permissions and local-only access.
Stated in video · HEMCP - AI + human7:20
Connect Claude to the HEMCP server via Home Assistant Cloud and authorize OAuth.
Stated in video · Claude - AI10:00
Retrieve system statistics: 109 integrations, 144 devices, 2590 entities, 261 automations.
Stated in video · Claude - AI16:18
Analyze the includes/backup_power/die.yaml file and identify 14 logic notes with fix suggestions.
Stated in video · Claude - AI + human22:03
Create a test automation via the set_automation tool with manual approval in Home Assistant.
Stated in video · Claude - 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



