Group Location
Explore Plans
Mobile menu Close menu
BG HomeBG Home

Turns device on or off

This action will turn a device on or off

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
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
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)