Skip to content
Agentguiden.no
Submit

Let an agent fix a broken Home Assistant light automation

Dan Malone ran OpenClaw in an isolated LXC container, connected to Home Assistant and Telegram. The motion lights on the landing had been broken for two days. The agent found two dead Hue bulbs the automation pointed to, deleted the broken blueprint automation and built a new one with night and day modes and a pause when baby mode is on. The author estimates five minutes in Telegram against an hour in Home Assistant, and warns about sandboxing.

Done with OpenClawModerate

What was done

Dan Malone ran OpenClaw in an isolated LXC container, connected to Home Assistant and Telegram. The motion lights on the landing had been broken for two days. The agent found two dead Hue bulbs the automation pointed to, deleted the broken blueprint automation and built a new one with night and day modes and a pause when baby mode is on. The author estimates five minutes in Telegram against an hour in Home Assistant, and warns about sandboxing.

How to do it

  1. Paste the prompt into the tool, and replace the text in brackets with your own.
  2. Read the answer through. Do not send, delete or publish anything until you have seen it yourself.
  3. Check the original before you trust a figure, a name or a date.

Try it with OpenClaw

Find out why [the light automation] in Home Assistant does not work, and list which devices are available and unavailable. Build a new automation with the same logic without the dead devices: [brightness and colour] at night, [brightness] by day and a timeout of [time]. Do not turn on lights when [quiet mode] is active. Show me the change before you delete the old one. You are done when I have tested the lights and approved the new automation.

Replace text in brackets with your own.

Read the original

Dan Malone on his blog ·

Five agents a day

A short email each morning with five concrete examples of what people use AI agents for. Each example links to its source. You can unsubscribe at any time.

You will first get an email to confirm the address.