Home

Set up smart-home routines by describing them

An open-source project lets Claude Code copy a live Home Assistant setup, write home routines from plain-English requests, and check them several ways before sending changes back.

Done with Claude Code

What they did

A developer, philippb, shared free code that lets Claude Code manage a Home Assistant smart-home setup. The user adds a Home Assistant access key and remote-login details. One command downloads the live settings. Claude Code then writes home routines from plain-English requests. Automatic checks confirm the settings are well formed and that every device named really exists. A second command checks again before uploading the changes to the home system.

Worth knowing

You need Home Assistant's "Advanced SSH & Web Terminal" add-on installed for remote access. The first download replaces the project's sample settings folder with your real settings.

Try it yourself with Claude Code

In this Home Assistant config repo, I want an automation that [describe behavior, e.g. turns on the hallway lights at sunset when someone is home]. First search the entity registry and list the entities you plan to use, so I can confirm them. Then write the YAML in the right config file and run the validation tools for syntax, entity references and HA config checks. Show me the diff and the validation results. Do not run make push until I approve.
Read the original

Source: GitHub · philippb

Written with AI assistance from the original post and checked against our editorial guidelines. Results are as reported by the source, not independently verified.

Get 5 use cases every day

The best things people got an agent to do yesterday, each with the prompt. Free, one email a day.

See today's issue