A beginner's guide
Explore Plans
Mobile menu Close menu
FreedomproFreedompro

Switch

This action will turn on and off a switch.

About this action

Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.

Developer info

Description
This action will turn on and off a switch.
API endpoint slug
freedompro.switch
Filter code method
Freedompro.switch.skip(string?: reason)
Runtime method
runAction("freedompro.switch", {})

Action fields

Uid Dropdown list

Label
Name
Slug
uid
Required
true
Can have default value
false

On Dropdown list

Label
On
Slug
on
Required
true
Can have default value
true
Filter code method
Freedompro.switch.setOn(string: on)