Toggle the Bedroom lights

Sets the Hue lamps on the side tables in my bedroom on or off.

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%20the%20Bedroom%20lights
Open Shortcut deep link
shortcuts://open-shortcut?name=Toggle%20the%20Bedroom%20lights
AppleScript code
tell application “Shortcuts Events” run shortcut “Toggle the Bedroom lights” end tell

More From This Folder

More From The Library

Run a shortcut

Asks you to enter the name of a shortcut, then finds and runs that shortcut. Also uses scripting to check if more than one exists with that name and asks which to run.

Get Shortcut »


Get way deeper into Shortcuts – become a member.