Group Location
Explore Plans
Mobile menu Close menu
Ai-SyncAi-Sync

Turn a device on or off

This action will turn on/off a device

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
API endpoint slug
aisync.on_off
Filter code method
Aisync.onOff.skip(string?: reason)
Runtime method
runAction("aisync.on_off", {})

Action fields

Device Dropdown list

Label
which device?
Helper text
Slug
device
Required
true
Can have default value
false

On off Dropdown list

Label
on or off?
Helper text
Slug
on_off
Required
true
Can have default value
true
Filter code method
Aisync.onOff.setOnOff(string: onOff)