The input parameter of the method:
ActionType - indicate the action type (Simple or Advanced).
Type - indicate the type of action.
Param - it is not required, send the parameters to activate the function (method).
Space - it is not required, send the space to activate the fucntion.
Method - send the method (function).
Name - indicate the method name.
The output parameter is True or False (successful or not).
Example of action of sending numbers on channels:
NewSubDevice.addAction({
ActionType: "Simple", // Indicate the action type Type: "send_number" // Indicate the action type Param: "0", // Send the parameters to activate the function Name: Turn Off, // Indicate the method name ChannelName: channelName, // Indicate the channel name });
The input parameter of the method:
ActionType - indicate the action type (Simple or Advanced).
Type - indicate the type of action.
Param - send the parameters to activat ethe function (method).
ChannelName - indicate the channel name.
Name - indicate the method name.
The output parameter of the method is True or False (successful or not).
