Toggle the Christmas lights

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

Matthew's Score
4/5
Total Actions
6
Built For

Shortcut Information

The shortcut checks, the power state of a specific HomeKit device, and, if there already is power, turns the device off, and if there is no power, turns it on.

Use this shortcut for a HomeKit-powered light switch with your Christmas lights connected as a one-tap shortuct to turn them on and off as needed — works well as a single Shortcuts widget on the Home Screen
Category
Complexity
Interactivity
Compatibility

Actions Used

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

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

More From This Folder

You Might Also Like


Get way deeper into Shortcuts – become a member.