/// <summary> /// The Recall Scene Command /// /// The Recall Scene command may be addressed to a single device or to a group. /// /// <param name="groupID"><see cref="ushort"/> Group ID</param> /// <param name="sceneID"><see cref="byte"/> Scene ID</param> /// <returns>The Task<CommandResult> command result Task</returns> /// </summary> public Task <CommandResult> RecallSceneCommand(ushort groupID, byte sceneID) { RecallSceneCommand command = new RecallSceneCommand(); // Set the fields command.GroupID = groupID; command.SceneID = sceneID; return(Send(command)); }
/// <summary> /// The Recall Scene Command /// /// The Recall Scene command may be addressed to a single device or to a group. /// /// <param name="groupId" <see cref="ushort"> Group ID</ param > /// <param name="sceneId" <see cref="byte"> Scene ID</ param > /// <param name="transitionTime" <see cref="ushort"> Transition Time</ param > /// <returns> the command result Task </returns> /// </summary> public Task <CommandResult> RecallSceneCommand(ushort groupId, byte sceneId, ushort transitionTime) { RecallSceneCommand command = new RecallSceneCommand(); // Set the fields command.GroupId = groupId; command.SceneId = sceneId; command.TransitionTime = transitionTime; return(Send(command)); }