Set up per-room heating automations in Home Assistant

A homeowner used Cursor plus a custom deployment bridge to build and refine room-by-room heating control in Home Assistant.

Done with Cursor· Advanced

What they did
They started with Home Assistant, Zigbee radiator valves, and a relay wired alongside the old thermostat as a backup. After the first automation version, copying YAML by hand slowed things down, so they built an add-on and an MCP server to let Cursor edit, deploy, and restart automations straight from the IDE. Each revision was also saved in a local Git repo.
How it went
They worked through five versions of the heating logic over one weekend. The final version turns the boiler off a little early so the radiators can drift up to temperature, which improved comfort and used noticeably less energy. No numbers were provided.
Tips
A setup like this is easiest when you add deployment and rollback tooling early. Keep local commits of every change so you can back out quickly if a new version behaves badly.

Try it yourself with Cursor

Help me automate per-room heating in my Home Assistant setup. Use my [Home Assistant config path or SSH host], [room names], and my [TRV, thermostat, and sensor entity IDs] to draft the automations and explain the logic for each room. After you make the YAML, run a config check and show me the diff. Pause and wait for my approval before you deploy, restart, send, delete, or otherwise apply anything to the live system.

Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.

2 more reports of this

Get 3 agent uses like this every morning

With the day's top AI news. Free, and one click to unsubscribe.