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

Add Basic spreadsheet

Adds a template from the Basic category in Numbers, including blank, dark mode, table and chart, pivot table, charting basics, checklist, checklist total, and categories.

Get Shortcut »

Open into the TV app

Presents a menu of sections in the TV app and opens the deep link into the app on iPhone, iPad, and Mac – options include Home, Search, Store, Sports, Apple TV+, and Library. When run from Apple Watch, opens the Apple TV app.

Get Shortcut »


Get way deeper into Shortcuts – become a member.

Browse more