Control air purifier

Toggles a smart switch by checking its current power state and turning it off or back on accordingly.

Actions

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

More From This Folder

Extra Details

Link to Run Shortcut
shortcuts://run-shortcut?name=Control%20air%20purifier
Link to Open Shortcut
shortcuts://open-shortcut?name=Control%20air%20purifier
AppleScript code
tell application “Shortcuts Events” run shortcut “Control air purifier” end tell

More From The Library

Log caffeine

Asks you to choose the type of caffeinated drink (coffee, espresso, cappuccino, or a soda) and logs the caffeine content into the Health app. Also compares against the daily recommended limit of milligrams of caffeine.

Get Shortcut »


Get way deeper into Shortcuts – become a member.

Browse more