这套方案的核心是,用 Python 脚本通过 HA API 来控制部署的整个流程——有兴趣的可以阅读 Claude Code 自己写的文档。 这样做的好处是不用修改冗长的 YAML 文件增添 Agent 上下文负担,比如我要修改所有灯光的上电状态为记忆,实际上是一个 setup_power_on_state.py 的脚本,用 for 循环遍历了所有的灯光设置。
Posts from this author will be added to your daily email digest and your homepage feed. I am not, by any definition, a coder, but when I started seeing people’s vibe-coded smart home projects all over ...
Home Assistant is one of the most powerful smart home platforms you can run, but writing automations for it has always been a friction point. There have been numerous attempts to improve this process, ...