Script generator Applet
Explore Plans
Mobile menu Close menu
Home + Control / Legrand - BTicinoHome + Control / Legrand - BTicino

Turn on/off a device

This option will turn on/off a device in your home.

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
This option will turn on/off a device in your home.
API endpoint slug
legrand_home_control.turn_on_off_the_element
Filter code method
LegrandHomeControl.turnOnOffTheElement.skip(string?: reason)
Runtime method
runAction("legrand_home_control.turn_on_off_the_element", {})

Action fields

Element Dropdown list

Label
Device
Helper text
Select a device
Slug
element
Required
true
Can have default value
false

State Dropdown list

Label
State
Helper text
on / off
Slug
state
Required
true
Can have default value
true
Filter code method
LegrandHomeControl.turnOnOffTheElement.setState(string: state)