Group Location
Explore Plans
Mobile menu Close menu
2Smart Cloud2Smart Cloud

Switching

This action will switch the state of the sensor to the opposite.

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 switch the state of the sensor to the opposite.
API endpoint slug
2smart_cloud.toggle
Filter code method
_2smartCloud.toggle.skip(string?: reason)
Runtime method
runAction("2smart_cloud.toggle", {})

Action fields

Sensor Nested dropdown list

Label
Devices
Helper text
Device sensor
Slug
sensor
Required
true
Can have default value
false