Explore Plans
Mobile menu Close menu
SmartnestSmartnest

Turn on/off a device

This action will turn on or off a device

Developer info

API endpoint slug
smartnest.power_state_action
Filter code method
Smartnest.powerStateAction.skip(string?: reason)
Runtime method
runAction("smartnest.power_state_action", {})

Action fields

Device Dropdown list

Label
Device
Helper text
Device name
Slug
device
Required
true
Can have default value
false

State Dropdown list

Label
State
Helper text
State of the device
Slug
state
Required
true
Can have default value
true
Filter code method
Smartnest.powerStateAction.setState(string: state)