AI Linkedin Assistant
Explore Plans
Mobile menu Close menu
WeBeHome - Security and Smart HomeWeBeHome - Security and Smart Home

Switch

Turn on/off a switch

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
Turn on/off a switch
API endpoint slug
webehome.switch
Filter code method
Webehome.switch.skip(string?: reason)
Runtime method
runAction("webehome.switch", {})

Action fields

Subunitid Dropdown list

Label
Accessory(Switch)
Helper text
Select which switch to be controlled
Slug
subunitid
Required
true
Can have default value
false

Operationstatus Dropdown list

Label
Status(On/Off)
Slug
operationstatus
Required
true
Can have default value
true
Filter code method
Webehome.switch.setOperationstatus(string: operationstatus)