Toggle the Christmas lights

Turns your HomeKit Christmas lights on or off depending on the current state.

Preview

Scripting Actions

Get the state of Home
Get the state of [name of Home set up in the Home app).
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.
Control Home
Set the state of [name of Home set up in the Home app] by selecting scenes and accessories to automate.

Extra Details

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

Related Posts

New in the Shortcuts Library: Christmas shortcuts
Check out my collection of Christmas shortcuts, including automations for playing holiday music to smart home setups, checking for snow to counting the days down.

More From This Folder

More From The Library

Start Multiple Timers

Starts two pre-set timers at once, each for different lengths. This version is a pomodoro timer, set to go off at 20 minutes for a break and again 5 minutes after to get back to work.

Get Shortcut »

Add to Home Screen from Files

Asks you to choose from your Shortcuts folders and repeats through the shortcuts for that folder, letting you choose a custom title, then choose from Files for the icon before adding it to the Home Screen.

Get Shortcut »


Get way deeper into Shortcuts – become a member.

Browse more