Image: dev.to
A whole Home Assistant setup built with Claude Code running inside it
A DEV write-up on running Claude Code inside Home Assistant to build gate, alarm, car and floor-heating automations, following the author's three-part series.
Credits
- Article author marcelo_sqe Source ↗
Earliest dated source:
The full story
The author's Home Assistant runs on a Home Assistant Green, and Claude Code runs inside it, in the Advanced SSH & Web Terminal add-on with /config mounted. Almost every automation, script and dashboard card in the house was written by Claude Code, which edits the configuration, validates and reloads it, and checks that the change worked. The author mostly talks to it in Portuguese from a phone.
Since June 2026 that adds up to 580 commits, 129 automations and 73 scripts across 147 devices, a 10-tab dashboard generated by 7,600 lines of Python, and 17 home-made cards. Claude has also written about 105,000 words of notes for itself.
The write-up explains the catch: add-on containers are rebuilt, so Node and Claude Code are reinstalled on every boot and Claude's folder lives inside /config, which survives. It follows a three-part series on the gates, alarm, car and floor heating.
How it was done
Tools
Themes
Loading themes…
Sources
From the maker's own write-up or code. We summarise what they report; we haven't tested it ourselves.
- DEV: How I built my entire Home Assistant with Claude Code running inside itArticle author: marcelo_sqePublished
The author's DEV article on running Claude Code inside Home Assistant, with figures and setup.