Home Assistant Automations: The Ones Actually Worth Building
Most people who run Home Assistant use maybe 10% of what it can actually do. They’ve got lights turning on and off on a schedule, maybe a “good morning” routine — and that’s pretty much it. Which is fine. But if you’ve ever looked at someone else’s setup and thought “how did they get it to do that?”, the answer is almost always automations.
Home Assistant automations are where the platform goes from “a fancier way to control your lights” to something that genuinely runs your home in the background. This guide covers the automations that are actually worth building — starting with the ones that take five minutes to set up and the ones that took most people months to figure out.
How Home Assistant Automations Work (The Quick Version)
Every automation in Home Assistant follows the same structure: a trigger fires when something happens, optional conditions check whether to proceed, and one or more actions run if everything lines up.
You build automations through the UI editor (Settings → Automations) without writing any code. For anything more complex, you can switch to YAML — but you genuinely don’t need to start there.
Triggers can be: a time of day, a sensor changing state (motion detected, door opened, temperature crossed a threshold), the sun rising or setting, someone arriving home or leaving, a button press, or dozens of other things. Actions can be: turn on a light, send a notification, run a script, call a service on any integrated device. The combination of those two things, plus conditions to refine when automations fire, is what makes Home Assistant useful beyond a standard smart home app.
The Automations Worth Building First
1. Motion-activated lighting that actually turns off
This sounds basic, but getting it right — especially the “off” part — is where most people spend time. The pattern is: motion detected → lights on, no motion for X minutes → lights off. Simple in theory. The gotcha is that motion sensors often keep sending “motion detected” signals for as long as someone is in the room, which means the timer never starts. You need to wait for the sensor to report “no motion” before starting the countdown.
The cleanest way to handle this in Home Assistant is with a helper timer or the “wait for trigger” action. Once you understand this pattern, you can apply it everywhere: hallways, bathrooms, stairwells — any space where you don’t want to think about lights.
2. Lights that follow the sun
Home Assistant knows your location and calculates sunrise and sunset automatically. You can trigger automations on “sun.sun” state changes — so your outdoor lights come on at dusk and go off at dawn without ever needing to update a schedule for daylight saving time or seasonal changes. This is one of those automations that, once running, you genuinely forget exists. Which means it’s working.
Pair this with a condition that checks whether someone is home (using a device tracker or person entity), and your outdoor lights only turn on when there’s actually someone there to need them.
3. The washing machine notification
This one converts most skeptics. Plug your washing machine into a smart plug with power monitoring. Create an automation that triggers when the power draw drops below 2 watts (the machine has finished). Action: send a notification to your phone saying “Washing done.”
No more forgetting laundry overnight. Works the same way for a dishwasher. The automation is genuinely useful every day, takes about ten minutes to set up, and is the kind of thing that makes the investment in Home Assistant feel worthwhile on its own.
4. Presence-based heating
If you have a smart thermostat integrated with Home Assistant, you can set the temperature based on whether anyone is home — not on a fixed schedule, but on actual presence. When the last person leaves, set it back. When someone arrives, start warming up. If you have a smart thermostat, this is the feature that actually delivers the energy savings the marketing promises, because it reacts to what’s actually happening rather than assuming everyone leaves at 8am and returns at 6pm.
5. Door left open alert
A simple condition check on a timer: if the front door has been open for more than 5 minutes, send a notification. You’d be surprised how useful this is — especially in households with kids, or anyone who regularly leaves the garage door open. Takes two minutes to set up and prevents the specific frustration of coming home to a house that’s been ventilating the outdoors all day.
6. “Good night” that actually knows when you’re asleep
A basic good night routine is triggered by voice or a button. A better one uses presence data from your phone (screen off, no movement, charging) to infer that you’ve actually gone to sleep, and then runs the routine automatically. Some people use a bed sensor. Others use a combination of time and the lights-off state of the bedroom to trigger it.
The point isn’t the exact method — it’s that Home Assistant lets you build automations around how you actually live, rather than forcing your life to fit a fixed schedule.

The Automation That Takes More Work but Is Worth It
Adaptive lighting
The Adaptive Lighting integration (available in HACS, Home Assistant’s community store) automatically adjusts the colour temperature and brightness of your lights throughout the day to match natural light — cool and bright in the morning, warmer and dimmer in the evening. It’s a set-and-forget improvement that affects sleep quality and general comfort in a way that’s hard to notice consciously but obvious when you turn it off.
Setting this up properly takes an hour or two, mainly because you need to configure which lights should be included and set up some bypass conditions for when you want a specific scene instead. But once it’s running, it’s one of those background automations that quietly makes your home more comfortable every day without requiring any thought.
A Few Things That Catch People Out
Home Assistant automations have a “mode” setting that controls what happens if an automation is triggered while it’s already running. The default is “single” — which means a second trigger is ignored. For most automations that’s fine. For motion lighting, you often want “restart” so the timer resets if motion is detected again before the lights turn off. It’s a small detail, but it explains a lot of “why isn’t this working right” moments.
The other common issue is automations that run at the wrong time. The Trace feature (available on every automation) shows you exactly when an automation ran, what triggered it, whether conditions passed, and what actions executed. If an automation is misbehaving, Trace is the first place to look — it’s far more useful than trying to guess what went wrong.
Conclusion
The best Home Assistant automations aren’t the complex ones — they’re the ones you stop noticing because they just work. Motion lights that turn themselves off. Notifications that tell you the laundry is done. Heating that responds to actual presence rather than an assumed schedule. These are the automations that make a smart home genuinely smart, rather than just remotely controllable.
Start with one. Get it right. Then build the next one. The people with impressive setups got there by adding one automation at a time over months, not by trying to wire up their entire house in a weekend.
What surprised me when I first got into this is how much the value compounds. The fifth automation you set up is more useful than the first, because it can reference state that your other automations have set. The home starts to feel like a system rather than a collection of devices. That shift is what Home Assistant is actually selling — it’s just not something you can demonstrate in a product video.