Description
Toggle the enable/disable status of a device.
Syntax
designer.setEnableDevice("DEVICE NAME", ENABLE);
Parameters
Parameter | Type | Description |
---|---|---|
DEVICE NAME |
String | Specify the device to enable/device |
ENABLE |
Boolean | Set to true to enable the device and false to disable the device |
Return
This function does not return anything.
Need more help with this?
Don’t hesitate to contact us here.