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
- Paste the prompt into the tool, and replace the text in brackets with your own.
- Read the answer through. Do not send, delete or publish anything until you have seen it yourself.
- 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.
Dan Malone on his blog ·