Explore Plans
Mobile menu Close menu

This action will switch the state of a device.

Developer info

API endpoint slug
luxorliving.switch
Filter code method
Luxorliving.switch.skip(string?: reason)
Runtime method
runAction("luxorliving.switch", {})

Action fields

Device Dropdown list

Label
Device
Slug
device
Required
true
Can have default value
false

Status Dropdown list

Label
Status
Slug
status
Required
true
Can have default value
true
Filter code method
Luxorliving.switch.setStatus(string: status)