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
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.
Use an agent to review course materials and draft fixes
A student used an AI agent to work through online class tasks inside Canvas or Blackboard while they did other things.
Use an agent to complete visa forms
A custom assistant can pull files from your device, fill visa applications, upload documents, and pause for review before the final step.
Pull school dates from emails and flyer photos
A family organizer can turn forwarded school messages and flyer images into calendar entries and reminders.
Let a sleep pose trigger a fan
They built a Raspberry Pi setup that watches sleeping posture and flips a fan on or off with a remote button pusher.
Use an agent to triage repo work and buy groceries
They use a custom agent setup to file repo issues, carry code changes through testing, and place grocery orders under a spending limit.