/// <inheritdoc/>
        public async Task LowerSaturationAsync(int value)
        {
            var request = new IncrementSaturationModel(-value);
            var json    = Serializer.Serialize(request);

            await _nanoleafHttpClient.SendPutRequest(json, "state/");
        }
示例#2
0
        public async Task RaiseSaturation(int value)
        {
            var    request = new IncrementSaturationModel(value);
            string json    = Serializer.Serialize(request);

            await _nanoleafHttpClient.SendPutRequest(json, "state/");
        }