Inheritance: ICommandBody
        public Task <HueResults> RecallSceneAsync(string sceneId, string groupId = "0")
        {
            if (sceneId == null)
            {
                throw new ArgumentNullException(nameof(sceneId));
            }

            var groupCommand = new SceneCommand()
            {
                Scene = sceneId
            };

            return(this.SendGroupCommandAsync(groupCommand, groupId));
        }
Beispiel #2
0
    public Task<HueResults> RecallSceneAsync(string sceneId, string groupId = "0")
    {
      if (sceneId == null)
        throw new ArgumentNullException("sceneId");

      var groupCommand = new SceneCommand() { Scene = sceneId };

      return this.SendGroupCommandAsync(groupCommand, groupId);

    }