Rework Home Assistant lights for evening and sleep
They used an AI agent to change Home Assistant rules so harsh LEDs give way to softer strips, with a late-night shutdown and red sleep mode.
- What they did
- They asked an AI to edit their Home Assistant automation setup. The agent changed the rules so any trigger that would switch on the bright white LED spots instead turned those off and brought on the indirect strip lights. It also added a night rule that cuts every light at 10pm, while colored lights switch to red for bedtime.
- How it went
- The home now defaults to the gentler lighting instead of the brighter spots. At night, the system goes dark at 10pm and uses red light for sleep.
- Tips
- Have the agent show the proposed changes before writing them. Ask it to run a config check after the edits so broken YAML is caught early.
Try it yourself with Claude Code
Review my Home Assistant lighting automations at [path or URL]. Update them so that when a rule would turn on the bright [type of lights], those lights stay off and the softer [type of lights] turn on instead. Add a rule that turns off all lights at [time], and changes any color-capable lights to [color] for sleep. First show me the exact YAML diff and wait for my approval before making any change that would send, delete, or apply anything. After I approve, implement the edits and then check that the config is valid.
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Triage school messages and prepare my replies
A parent has an agent sort school mail, summarize it, and draft responses they can review before sending.
Use an agent to chase Dutch rental viewings
Uprent’s agent monitors Dutch listings, sends viewing requests, and helps manage landlord messages and calendars.
Centralize control of a connected house
An agent explored a home network, decoded several device interfaces, and assembled one place to run the whole house.
Use a chat-based helper for family admin
A text- or WhatsApp-reachable agent keeps track of family messages, school chats, and schedules for busy parents.
Automate tailored job applications for specific openings
A developer built an application agent that helped them land interviews at Cohere and Scale AI.
Plan meals and household tasks for the week
They used an agent to assemble weekly dinners, errands, and daily briefs around their family calendar and preferences.