コード例 #1
0
        public async void return_true_on_set_color_one_light()
        {
            var lightsManager = new LightsManager(_client);
            await lightsManager.RetrieveLights();

            var lights = lightsManager.Lights;
            var result = await lightsManager.SetColorOnLight(lights.First(), "#FF00AA");

            Check.That(result).IsEqualTo(StateLight.On);
        }