
Does Smart Home Tech Help in Maintaining Cognitive Health?
Smart home technology alternatives provide risk-free control of various smart home elements and ensure user’s optimal medical conditions.
ReadOpen the Google Home app, tap Automations, then Add, and pick a starter, optional conditions and actions. For more advanced logic, Google's YAML script editor lets you write household automations by hand.

Google Home automations turn separate speakers, plugs and bulbs into one system. A light at sunset, a bedtime announcement or blinds that close when the TV comes on all use the same building blocks: starters, conditions and actions.
This guide is research-based. We did not set up a test home for it. Every step and example below comes from Google's Help pages and its script editor documentation, listed at the end. Menus change often, but the logic still applies. For the wider picture of speakers, displays, Nest devices and Gemini, start with our Google Home and Nest guide.
Google uses both words. Its help page "Create & manage Routines in Google Home" describes Routines as a series of actions for your home devices that help you and your household automate tasks throughout the day. Newer pages call the same thing an automation, and the app's tab is now called Automations.
Google splits them into two types:
| Personal Routine | Household Routine (automation) | |
|---|---|---|
| Who creates and edits it | Only you | People with Admin access or Members with Settings permission |
| Who can start it | Only you | Anyone in the home, including guests, for most routines |
| Personal results (calendar, reminders, commute) | Yes | No |
| Where runs are logged | My Activity | Home history or Activity feed in the Google Home app |
| Best for | Morning briefings, bedtime voice commands | Lights, plugs, thermostats, cameras and announcements for everyone |
Google's help page also lists pre-made Personal Routines such as "Good morning", "Bedtime", "I'm home" and "Leaving home", which you can edit or delete. It notes that "I'm home" and "Leaving home" do not use presence sensing; for automations that start when everyone leaves or someone arrives, Google points you to Presence-based automations instead.
Google's "Manage smart home automations in Google Home" page describes a newer automation editor for household automations. It adds a conditions section with device-state and presence conditions, so an automation can be set to start only if, for example, a certain device is on or someone is home. The steps Google lists are:
Google adds two notes. First, an automation without a starter will not start by itself, but you can still start it manually as long as the conditions are empty too. Second, the new editor only covers household automations; for Personal Routines, you follow the steps on the routines page (Automations, then Add, then Personal). Google also says some starters, such as one based on familiar faces, require a Google Home Premium subscription.
If you need a feature the new editor does not have yet, Google says you can switch back to the previous household editor from the menu while creating an automation. It gives the pulse effect on lights as one example of a feature not yet moved over.
According to Google's routines page, the starters you can choose from include:
The action list on the same page includes adjusting home devices (lights, plugs, switches, thermostats), playing and controlling media, getting info such as weather and calendar events, broadcasting messages, changing the assistant's volume, and custom actions, where you type a command for your voice assistant. Which starters and actions you see depends on the routine type and the devices you have connected.
These come straight from Google's routines help page. Each uses one starter and one or two actions, so problems are easy to spot.
| Routine type | Starter | Actions |
|---|---|---|
| Household | 8:00 PM every day | Announce "It's almost bedtime" on your speakers |
| Household | Sunset every day | Turn on the porch light and read the weather on a speaker |
| Household | Living room TV turns on | Run a custom command such as "Turn on the amplifier" |
| Household | Motion sensor detects motion | Turn on the entrance light |
| Household | No motion for 10 minutes | Turn off the lights |
| Household | Doorbell rings in the evening | Turn on the porch lights at 75% brightness |
| Personal | "Hey Google, good morning" | Lights on, weather, calendar events and news |
| Personal | "Hey Google, bedtime" | Set an alarm, lights off, play sleep sounds |
For seasonal lighting, see our guide to automating holiday lights with schedules and scenes. If a routine starts automatically and includes audio, Google's steps say to choose the device it plays on, such as a display like the one in our Google Nest Hub Max review.
Google's help page "Create advanced home automations with the script editor" says the script editor lets you program household automations with additional starters, conditions, actions and advanced logic. You write them in YAML, a plain-text format of key-value pairs, using two spaces of indentation for each nested level. Google says you can use it in Google Home for web at home.google.com/automations, or in the Google Home app. The same page says that on an iPhone or iPad you can currently view, edit, deactivate and run scripted automations but not create new ones, so Google recommends the web version there. The page describes the script editor as being in Public Preview.
Every script has a metadata block (a name and description) and an automations list. Each automation has starters (when it begins), an optional condition (restrictions checked each time it begins) and actions (what it does). Google's language guide says the starters and actions fields are required, and devices are named in the format "device name - room name", exactly as they appear in your app.
To create one in the app, Google's steps are: tap Automations, tap Add, then Household, open More options and choose Script editor. Write the script, tap Validate (you cannot activate a script with errors), then tap Save. A valid script activates automatically when saved unless you switch Activate off.
The examples below are taken from Google's "Example scripted automations" developer page. Each table shows the script line by line; when you type it, indent each nested line by two spaces, as on Google's page. Replace the device and room names with your own.
Example 1: dim the lights and close the blinds at 10 PM.
| Script line | What it does |
|---|---|
| metadata: | Starts the name and description block |
| name: Nighttime dim lights and close blinds | Label you see in the app |
| automations: | Starts the list of automations |
| - starters: | First automation; its starter list follows |
| - type: time.schedule | A clock-time starter |
| at: 22:00 | Runs at 10 PM |
| actions: | Starts the action list |
| - type: device.command.BrightnessAbsolute | Sets a light's brightness |
| devices: Light - Living Room | Which light |
| brightness: 50 | 50% brightness |
| - type: device.command.OpenClose | Opens or closes blinds |
| devices: blinds1 - Living Room | Which blinds |
| openPercent: 0 | Fully closed |
Google's comment in this script notes that setting brightness turns the light on, so no separate on command is needed.
Example 2: when the TV turns on after dark, dim the light and lower the blinds. This one shows a condition. The starter is type device.state.OnOff on "TV - Living Room" with state on and is true. Under condition, Google uses type time.between with after SUNSET and before SUNRISE. The actions set "Light - Living Room" to brightness 5 and "Blind - Living Room" to openPercent 0. Without the condition, it would also run at noon.
Example 3: get a notification when a package is delivered. Google's example uses the starter type device.event.PackageDelivered on a front-door camera, and the action type home.command.Notification with a title, a body and a members list of email addresses for the people who should get the alert.
Google's examples page also shows a useful option called suppressFor. In a motion-triggered "open the blinds in the morning" script, it adds suppressFor: 20 hours to the starter so the automation runs on the first motion of the morning and then ignores further motion for 20 hours.
Google's "Troubleshoot Google Home automations" page suggests checking in this order:
Many failures are really a device dropping off the network. For Matter or Thread gear, our guide to fixing Matter devices that keep going offline covers the network side.
Google also states that automations are for convenience only, not safety or security-critical uses, because they depend on internet, Wi-Fi and services from Google and device makers. Do not rely on one for anything that could cause harm if it fails.
Not for every routine. Google lists starting a routine from the Google Home app or Google Home for web as a starter, and many actions control smart devices directly. Voice starters and audio actions such as announcements need an assistant-enabled speaker or display, like the older speaker covered in our Google Nest Home speaker article.
Yes for regular routines and automations. For the script editor, Google says an iPhone or iPad can view, edit, deactivate and run scripted automations, but cannot currently create new ones, so it recommends Google Home for web for that.
Google says only people in the home with Admin access, or Members with Settings permission, can create and manage household automations. Anyone in the home, including guests, can start most Household Routines.
Pause or deactivate it. In the routines editor, turn off Activate Routine and save; in the new editor, select the automation and tap Inactive. Google notes that deleting a routine is permanent.
You need the basics of YAML: key-value pairs, two-space indentation and dashes for lists. Google's help page also mentions an experimental generative AI feature in the script editor that drafts a script from a description for you to review and edit.

Smart home technology alternatives provide risk-free control of various smart home elements and ensure user’s optimal medical conditions.
Read
You may remove your saved talks from Alexa’s history and have peace of mind. Here, we will walk you through the entire procedure.
Read
Any gadget that a voice command can activate should be easy for anyone visually impaired, and Alexa meets the bill well.
ReadA one-page PDF to plan your first devices, plus occasional emails when we publish new guides and deal alerts. Unsubscribe any time.
By subscribing you agree to our Privacy Policy.