Inheritance: ICommandBody
Esempio n. 1
0
        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));
        }
Esempio n. 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);

    }