maigenlang/n8n-conversation
🐙 Integrate Home Assistant with n8n to run conversation agents, expose AI tasks via webhooks, and share context to n8n for smarter automations.
What's novel
🐙 Integrate Home Assistant with n8n to run conversation agents, expose AI tasks via webhooks, and share context to n8n for smarter automations.
Code Analysis
11 files read · 3 roundsA Home Assistant custom integration that forwards conversation messages and exposed entity states to an n8n webhook via HTTP POST and returns the response as the assistant's reply.
Strengths
Clean, idiomatic Home Assistant integration that correctly implements both the Conversation and AI Task platforms with proper async patterns, typed payloads, and sensible configuration flow with URL validation. The exposed-entities gathering logic (resolving entity/device/area registries) is well-structured and provides useful context to the n8n workflow.
Weaknesses
Zero test coverage for a project that makes external HTTP calls and manipulates registry data. The README is heavily overblown—describing 'AI-powered assistants that listen, reason, and act' when the code is a straightforward webhook relay with no intelligence of its own. No retry logic, no connection health checks, and the const.py file has a syntax quirk (double-quoted docstring).
Score Breakdown
Signal breakdown
Innovation
Craft
Traction
Scope
Evidence
Commits
12
Contributors
2
Files
18
Active weeks
2
Repository
Language
Python
Stars
2
Forks
0
License
MIT