Toggle the Bedroom lights

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

Scripting Actions

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.
Get the state of Home
Get the state of [name of Home set up in the Home app).
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.

Extra Details

Link to Run Shortcut
shortcuts://run-shortcut?name=Toggle%20the%20Bedroom%20lights
Link to Open Shortcut
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

OCR Thread

Accepts a Thread link, scrapes the data, then opens the link, waits for it to load, takes a screenshot, extracts text from the screenshot, then prompts you to delete the extra text before replacing the excerpt in the Thread JSON dictionary.

Get Shortcut »

Copy View from Notion link

Gets a URL from input, matches the URL structure for a page ID and the assocatiated View ID, and copies the View identifier to the clipboard. Can also be set to extract both IDs in an array.

Get Shortcut »


Get way deeper into Shortcuts – become a member.

Browse more