Toggle the Kitchen lights

Sets the Hue light in my kitchen on or off depending on the current state.

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.

More From This Folder

Extra Details

Link to Run Shortcut
shortcuts://run-shortcut?name=Toggle%20the%20Kitchen%20lights
Link to Open Shortcut
shortcuts://open-shortcut?name=Toggle%20the%20Kitchen%20lights
AppleScript code
tell application “Shortcuts Events” run shortcut “Toggle the Kitchen lights” end tell

More From The Library

Open Club MacStories

Shows the main homepage for Club Macstories, the members-only portion of the MacStories website with weekly newsletters, community events, and private stories with more advanced techniques.

Get Shortcut »

Play my Replay 2023

Plays the preselected Replay 2023 playlist on Shuffle. This year, my top tracks are full of electronic and Fred Again – plus, Mall Rat from The Sims (which I listening to on repeat jokingly and then not jokingly while doing chores).

Get Shortcut »


Get way deeper into Shortcuts – become a member.

Browse more