Toggle Living Room lights

Activates a Home scene set to control all the lights in my living room, turning them on or off depending on the current state.

Actions Used

shortcuts-action-icon-if.webp
If
Tests if a condition is true, and if so, runs the actions inside. Otherwise, the actions under “Otherwise” are run.
shortcuts-action-icon-stop-this-shortcut.webp
Stop shortcut
Stops execution of the current shortcut and dismisses the shortcut on screen. No more actions will be run after this action.
Get the state of Home
Get the state of [name of Home set up in the Home app).

Extra Details

Run Shortcut deep link
shortcuts://run-shortcut?name=Toggle%20Living%20Room%20lights
Open Shortcut deep link
shortcuts://open-shortcut?name=Toggle%20Living%20Room%20lights
AppleScript code
tell application “Shortcuts Events” run shortcut “Toggle Living Room lights” end tell

More From This Folder

Toggle the Sound Machine

Turns my Eve Switch on or off depending on its current state, which controls the sound machine we have in our bedroom for drowning out little noises and providing a constant background sound to sleep to.

Get Shortcut »

More From The Library

Search Apple Maps

Asks for your search query, encodes the text, then opens the deep link into Apple Music.

Reference: https: or or developer.apple.com or library or archive or featuredarticles or iPhoneURLScheme_Reference or MapLinks or MapLinks.html

Get Shortcut »


Get way deeper into Shortcuts – become a member.