Explore Plans
Mobile menu Close menu
BG HomeBG Home

Turns device on or off

This action will turn a device on or off

Developer info

API endpoint slug
BG_HOME.powerState
Filter code method
BGHOME.powerState.skip(string?: reason)
Runtime method
runAction("BG_HOME.powerState", {})

Action fields

Deviceinfo Dropdown list

Label
Which device?
Helper text
choose device
Slug
deviceinfo
Required
true
Can have default value
false

Power control change power state string Dropdown list

Label
On of off?
Slug
PowerControl_ChangePowerState_string
Required
true
Can have default value
true
Filter code method
BGHOME.powerState.setPowerControlChangePowerStateString(string: powerControlChangePowerStateString)