10 Home Assistant Automations for Beginners That Actually Matter (2026)
Home Assistant automations are where your smart home transforms from a collection of gadgets into an intelligent system that works for you. But with unlimited possibilities, beginners often struggle to know where to start. Should you automate your lights? Your thermostat? Your security? All of the above?
In this guide, I will share 10 practical automations that deliver real daily value. These are not flashy demos. They are the automations that people actually keep running for months and years because they genuinely make life easier. If you are just getting started with your smart home, these are the automations to build first.
Before You Start: Understanding Automations
Every Home Assistant automation has three parts:
- Trigger: What starts the automation (motion detected, time reached, door opened)
- Condition (optional): What must be true for it to proceed (after sunset, someone is home)
- Action: What happens (turn on light, send notification, adjust thermostat)
You can create automations through the visual editor (Settings > Automations) or in YAML. I will show both approaches where helpful.
1. Motion-Activated Hallway Lights
This is the automation that hooks most people on smart homes. Walk into a dark hallway and the light turns on automatically. Leave, and it turns off.
What you need: A motion sensor (like Aqara) and a smart light or switch.
automation:
- alias: "Hallway motion lights"
trigger:
- platform: state
entity_id: binary_sensor.hallway_motion
to: "on"
condition:
- condition: numeric_state
entity_id: sensor.hallway_illuminance
below: 30
action:
- service: light.turn_on
target:
entity_id: light.hallway
data:
brightness_pct: 80
transition: 1
- alias: "Hallway lights off no motion"
trigger:
- platform: state
entity_id: binary_sensor.hallway_motion
to: "off"
for: "00:02:00"
action:
- service: light.turn_off
target:
entity_id: light.hallway
data:
transition: 3
Pro tip: Use the illuminance condition so lights only activate when it is actually dark. Nobody wants lights turning on at noon.
2. Front Door Left Open Alert
Forgot to close the front door? This automation sends a notification to your phone if the door stays open for more than 5 minutes. Simple but incredibly useful, especially in winter or summer when you are wasting heating or cooling.
What you need: A door/window contact sensor.
automation:
- alias: "Front door left open warning"
trigger:
- platform: state
entity_id: binary_sensor.front_door
to: "on"
for: "00:05:00"
action:
- service: notify.mobile_app_your_phone
data:
title: "Door Alert"
message: "The front door has been open for 5 minutes!"
data:
tag: "door_open"
3. Smart Thermostat Schedule with Override
Set your thermostat to a comfortable temperature when you are home and save energy when you are away. This automation works alongside any smart thermostat.
What you need: A smart thermostat or climate entity, and presence detection (phone-based or sensor-based).
automation:
- alias: "Thermostat home schedule"
trigger:
- platform: state
entity_id: group.family
to: "home"
action:
- service: climate.set_temperature
target:
entity_id: climate.living_room
data:
temperature: 21
hvac_mode: "auto"
- alias: "Thermostat away mode"
trigger:
- platform: state
entity_id: group.family
to: "not_home"
for: "00:15:00"
action:
- service: climate.set_temperature
target:
entity_id: climate.living_room
data:
temperature: 17
hvac_mode: "auto"
The 15-minute delay prevents the thermostat from toggling when you quickly step outside. For deeper thermostat discussions, check out the Reddit thermostat comparison.
4. Presence-Based Welcome Home
Turn on specific lights, adjust the thermostat, and play music when you arrive home. This is the “smart home magic” moment that impresses visitors.
What you need: Phone-based presence detection (Home Assistant companion app) and smart devices to control.
automation:
- alias: "Welcome home routine"
trigger:
- platform: state
entity_id: person.your_name
to: "home"
condition:
- condition: sun
after: sunset
action:
- service: light.turn_on
target:
entity_id:
- light.entryway
- light.living_room
data:
brightness_pct: 70
- service: climate.set_temperature
target:
entity_id: climate.main
data:
temperature: 21
5. Water Leak Detection Emergency
Water damage is one of the most expensive home disasters. A $15 leak sensor paired with this automation can save you thousands in repairs.
What you need: A water leak sensor placed under sinks, near the water heater, or by the washing machine.
automation:
- alias: "Water leak emergency"
trigger:
- platform: state
entity_id: binary_sensor.kitchen_leak
to: "on"
action:
- service: notify.mobile_app_your_phone
data:
title: "WATER LEAK DETECTED"
message: "Water detected under the kitchen sink! Check immediately."
data:
priority: high
channel: "alarm"
- service: persistent_notification.create
data:
title: "Water Leak Alert"
message: "Leak detected at {{ now().strftime('%H:%M') }}. Check kitchen sink area."
If you have a smart water valve, add an action to automatically shut off the water supply. This single automation can pay for your entire smart home investment.
6. Goodnight Routine
One tap (or one voice command) to shut down the house for the night: turn off all lights, lock doors, set the thermostat to sleep mode, and arm the security system.
What you need: Smart lights, a smart lock (see our best smart locks comparison), and optionally a smart thermostat.
automation:
- alias: "Goodnight routine"
trigger:
- platform: state
entity_id: input_boolean.goodnight
to: "on"
action:
- service: light.turn_off
target:
entity_id: all
- service: lock.lock
target:
entity_id: lock.front_door
- service: climate.set_temperature
target:
entity_id: climate.bedroom
data:
temperature: 18
- service: input_boolean.turn_off
target:
entity_id: input_boolean.goodnight
Create an input_boolean.goodnight helper and add it to your dashboard or use it as a trigger for a bedside button.
7. Washing Machine Done Notification
Smart plugs that monitor power consumption can tell you when your washing machine finishes its cycle. No more forgetting wet laundry in the machine.
What you need: A smart plug with power monitoring (Zigbee smart plugs like Sonoff S31 Lite work great).
automation:
- alias: "Washing machine finished"
trigger:
- platform: numeric_state
entity_id: sensor.washing_machine_power
below: 5
for: "00:03:00"
condition:
- condition: state
entity_id: input_boolean.washing_machine_running
state: "on"
action:
- service: notify.mobile_app_your_phone
data:
title: "Laundry Done"
message: "The washing machine has finished. Time to move clothes to the dryer!"
- service: input_boolean.turn_off
target:
entity_id: input_boolean.washing_machine_running
- alias: "Washing machine started"
trigger:
- platform: numeric_state
entity_id: sensor.washing_machine_power
above: 50
action:
- service: input_boolean.turn_on
target:
entity_id: input_boolean.washing_machine_running
8. Sunrise Alarm / Wake-Up Lights
Gradually increase bedroom light brightness over 15 to 30 minutes before your alarm, simulating a sunrise. This is gentler than a blaring alarm and helps you wake up naturally.
What you need: A smart bulb or light strip that supports brightness control and color temperature.
automation:
- alias: "Sunrise wake up"
trigger:
- platform: time
at: "06:30:00"
condition:
- condition: state
entity_id: input_boolean.workday_alarm
state: "on"
action:
- service: light.turn_on
target:
entity_id: light.bedroom
data:
brightness_pct: 1
color_temp_kelvin: 2700
- delay: "00:05:00"
- service: light.turn_on
target:
entity_id: light.bedroom
data:
brightness_pct: 20
color_temp_kelvin: 3000
transition: 300
- delay: "00:05:00"
- service: light.turn_on
target:
entity_id: light.bedroom
data:
brightness_pct: 60
color_temp_kelvin: 4000
transition: 300
- delay: "00:05:00"
- service: light.turn_on
target:
entity_id: light.bedroom
data:
brightness_pct: 100
color_temp_kelvin: 5000
transition: 300
9. Garbage Day Reminder
Never miss garbage day again. Create a simple automation that reminds you the evening before to take the bins out.
What you need: Just Home Assistant and a phone for notifications. Use input_select or a calendar entity for the schedule.
automation:
- alias: "Garbage day reminder"
trigger:
- platform: time
at: "19:00:00"
condition:
- condition: template
value_template: >
{% set tomorrow = (now() + timedelta(days=1)).strftime('%A') %}
{{ tomorrow == 'Thursday' }}
action:
- service: notify.mobile_app_your_phone
data:
title: "Garbage Reminder"
message: "Take the bins out tonight! Collection is tomorrow morning."
Adjust the day to match your local schedule. You can extend this to handle recycling on different weeks using week number templates.
10. Low Battery Alert for All Sensors
As your smart home grows, tracking battery levels across dozens of sensors becomes tedious. This automation monitors all battery-powered devices and alerts you when any drop below 20%.
What you need: Battery-powered sensors (most Zigbee sensors report battery level).
automation:
- alias: "Low battery notification"
trigger:
- platform: numeric_state
entity_id:
- sensor.front_door_battery
- sensor.hallway_motion_battery
- sensor.bedroom_temp_battery
- sensor.kitchen_leak_battery
below: 20
action:
- service: notify.mobile_app_your_phone
data:
title: "Low Battery Warning"
message: "{{ trigger.to_state.attributes.friendly_name }} is at {{ trigger.to_state.state }}%"
This prevents you from discovering a dead sensor only when an automation fails to trigger.
Bonus Tips for Better Automations
Start Simple, Iterate
Do not try to build complex automations on day one. Start with a basic trigger and action. Once it works reliably, add conditions and refine the behavior over time.
Use the Visual Editor First
Home Assistant’s visual automation editor is excellent for beginners. You can always convert to YAML later for more advanced logic. No shame in using the UI.
Test Before Trusting
Always test new automations manually. Trigger them by hand, check the logs, verify the actions fire correctly. Only rely on them after confirming they work.
Check the Automation Trace
When an automation does not fire as expected, use the automation trace (click the automation in the UI, then “Traces”). It shows you exactly what happened, what conditions passed or failed, and where things went wrong.
Group Related Automations
Use labels and descriptions to organize automations. Group them by room, function, or priority. Future you will thank present you when you have 50+ automations.
For more on choosing the right ecosystem and understanding why the community is so passionate about local automation, read our Reddit Home Assistant community piece.
FAQ
Do I need to know YAML to create automations?
No. Home Assistant has a full visual automation editor that lets you create automations by clicking through menus. YAML is optional and only needed for very advanced templates or configurations.
How many automations can Home Assistant handle?
There is no practical limit. People run hundreds of automations without performance issues. Home Assistant processes automations efficiently and modern hardware (even a Raspberry Pi 4) handles large automation counts without problems.
What happens if my Home Assistant server goes down?
Automations stop running. This is why critical safety devices (smoke detectors, security systems) should not rely solely on Home Assistant. Use HA automations for convenience and enhancement, not as your only safety layer.
Can I trigger automations with voice?
Yes. If you use Google Home, Alexa, or a local voice assistant (like the upcoming Home Assistant voice), you can trigger automations by voice. Create a script or scene and expose it to your voice assistant.
Why did my automation not trigger?
Common reasons: the condition was not met (check time, sun state, entity states), the device was unavailable (check Zigbee connection), or there was a typo in the entity ID. Always check the automation trace for details.
Can automations run when I am away from home?
Yes. Automations run on your Home Assistant server regardless of whether you are home. They do not require your phone to be connected. Presence-based automations use your phone’s location reporting to determine if you are home or away.
Wrapping Up
These 10 automations represent the foundation of a useful smart home. Start with motion lights and door alerts (they deliver value immediately), then gradually add thermostat control, presence detection, and appliance monitoring. Each automation you add makes your home a little smarter and your daily life a little easier.
The beauty of Home Assistant is that these simple automations can grow into complex, interconnected behaviors over time. But they do not have to. Even these basic 10 automations running reliably will make you wonder how you lived without them.